4 ms·
"Decoupling" is not a phrase I'd personally use to describe a benefit of React. Every React example I've seen is a horrific-looking mixture of JavaScript, XML,
by wackget 4y ago
"Decoupling" is not a phrase I'd personally use to describe a benefit of React.
Every React example I've seen is a horrific-looking mixture of JavaScript, XML, and HTML all muddled together into a nasty-looking component system.
When I was learning front-end development it was an absolute cardinal sin to mix markup, JavaScript, and styling together. Now that seems like the standard practice and I still can't look past it.
- agumonkey 4y agoit's an object metaphor brought to the UI layer, you used to assemble trees of java widgets updated manually, now it's a tree of dom elements with semi infered update graphs
- papertokyo 4y agoComponent-based UI libraries/frameworks and the resulting ability to compartmentalize different parts of the app make that adage irrelevant. I agree with your opinion of React/JSX, but the single file components of Vue and Svelte are an absolute joy to work with.