4 ms·
I'm someone that initially hated the look of JSX (the html markup inside of Javascript thing). But I've learned to like it. React encourages you to keep compon
by have_faith 11y ago
I'm someone that initially hated the look of JSX (the html markup inside of Javascript thing).
But I've learned to like it. React encourages you to keep components very granular and small and so the amount of markup in each component doesn't really get in the way I find. I've also learned to appreciate how easy it is to reason about what React is going to spit out onto the page because the view is right next to the logic that dictates the various states of the view. Feels very concise.
I still don't like the idea of it, but in practice it works quite well.