Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The problem with JSX (and it's the same problem with all declarative languages) is you have no control over the control flow.


I'm struggling to think what kind of control flow you're looking for when specifying a document consisting of a tree of components. If all you want is a way to render one nodeset over a different nodeset at runtime then you can easily do that by setting that behavior in the relevant component.


That's because JSX doesn't concern itself with control flow; it's not its job. Your framework has that job.


No, that's my job.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: