4 ms·
The problem with JSX (and it's the same problem with all declarative languages) is you have no control over the control flow.
by ScottFree 7y ago
The problem with JSX (and it's the same problem with all declarative languages) is you have no control over the control flow.
- mixedCase 7y agoThat's because JSX doesn't concern itself with control flow; it's not its job. Your framework has that job.
- ScottFree 7y agoNo, that's my job.
- vinceguidry 7y agoI'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.