|
|
|
|
|
by hcarvalhoalves
4055 days ago
|
|
You are using your gut feeling, but that's not how React works at all. JSX is not HTML, mixing logic/presentation is not a concern because you're not dividing your rendering between backend/frontend, and finally you don't even have to care about the final HTML representation of your component, it's just an implementation detail. Finally, it's all declarative since you're never modifying a DOM tree - and declarative is a pre-requisite for good UI frameworks. |
|