Hacker News new | ask | show | jobs
by that_guy_iain 1278 days ago
I feel like if your views are complex, you're probably doing something wrong. Views really shouldn't have complex logic in them.
1 comments

It is just like Reflection. Usual business logic should not use it, but all complex libraries (ORM, MVC, Dependency Injection) use Reflection and won't be ergonomic without it.

Same way, the jsx is advanced API. You will have complex logic, when you are authoring super reusable components for a variety of use cases. And jsx helps you in making it possible.

While allows you to use simpler approach for rest of the codebase