2 ms·
I apologize and you are correct in stating this. Less experienced developers may come across these sorts of mistakes when conflating JSX with templating languag
by supernintendo 11y ago
I apologize and you are correct in stating this. Less experienced developers may come across these sorts of mistakes when conflating JSX with templating languages that contain logic constructs (Handlebars et al). It is important to clarify.
To be more constructive, I believe an understanding of when to use the right tool for the right job is paramount to a good software developer. JSX nodes are suitable for representing UI components but certainly not control statements such as a for loop.