3 ms·
JSX is more than tolerable if you use React as intended. You're not supposed to write single components that span a thousand lines of code nesting pure javascr
by bayesian_horse 4y ago
JSX is more than tolerable if you use React as intended.
You're not supposed to write single components that span a thousand lines of code nesting pure javascript and JSX elements.
Even better if you can factor out any computation out of the JSX parts into selectors.
- ncphillips 4y ago+1 As someone who never runs into problems with JSX, I have definitely wondered if the criticisms against JSX/React are from people trying to use it in ways that are explicitly counter to its core philosophy.