3 ms·
Yeah the second I saw the string block I noped out. JSX works really nicely and I dislike weird template string stuff now. Same with vue.
by antihero 4y ago
Yeah the second I saw the string block I noped out. JSX works really nicely and I dislike weird template string stuff now. Same with vue.
- tambourine_man 4y agoNo JSX for me either. I want plain HTML, CSS and JavaScript. All scoped within their files and domains.
- antihero 4y agoI’ve found this to be needless indirection. If your components are large enough to warrant this simply break them down.
- tambourine_man 4y agoJust gotta write your CSS carefully. It's not easy, it takes time to learn, but so does the constant juggling that is the React world. At least the first one is faster and won't be out of fashion in 5 years, since it hasn't been in a decade. I also find separation of concerns conceptually more sound and powerful.
- phailhaus 4y agoReact was created in 2013, so it has in fact been "in fashion" for a decade now.
- tambourine_man 4y agoYeah, hopefully that trend is dying and we can get some sanity back.
- phailhaus 4y agoNot at all, React is still a juggernaut and the industry standard. It is really, really good at what it does and other libraries are often riffs on its design philosophy. Even if React itself goes away for some reason, those patterns are here to stay since it has left a permanent mark on the field. These complaints sound a bit like saying "man, compilers are so complicated, hopefully this trend is dying and we can get some sanity back."
- tambourine_man 4y agoIt's an interesting comparison. An optimizing compiler is an incredibly complex beast that makes developer's life almost incalculably better. Most of our stack would be unfeasible to write and maintain in assembly. I'm not at all sold that React remotely qualifies, in fact, I've yet to see any benefits to developers or end users. >it has left a permanent mark on the field It sure has, an indelible stain
- phailhaus 4y ago> Most of our stack would be unfeasible to write and maintain in assembly. The same can be said about libraries like React and websites. Honestly, your position is completely untenable because it's the classic "everyone is dumb except me." Ah yes, all these million and billion dollar companies decided to use React because they're bored and not because it brings any value. You're the only genius, if only everyone realized that the Ideal Website was just handcrafted js. There are thousands of websites written in React today, and they bring value to their users. That's not disputable. To suggest that there's no benefits is just an astounding level of arrogance.
- tambourine_man 4y agoI’m far from being the only one and it doesn’t take a genius to see that our industry is driven by far more than objective value returned to developer or end user. Just do a quick search on HN, Twitter, Mastodon. You’ll see that’s actually not at all hard to find articles questioning its effectiveness. The epiphany I had a few years ago is that React is very good for hiring, being hired, managing a team and has very little to do with writing and maintaining a website. At least that’s what I tell myself to find some peace. If you don’t think the JS world is mad, I don’t know if I can convince you in a HN thread.