5 ms·
> I had a few attempts to learn it, but I failed every time. It is fair to say that I don’t understand it, so I cannot even rant about its features, shortcoming
by tomhoward 5y ago
> I had a few attempts to learn it, but I failed every time. It is fair to say that I don’t understand it, so I cannot even rant about its features, shortcomings, or flaws.
That's the real substance of the post right there. It's a valid expression of the author's experience. But it's irrelevant to people who know they need React and know how to use it appropriately.
I've been building websites since 1996, using HTML, JavaScript and CSS right from those early days.
I always found it frustrating for building rich web applications, or even "plain" websites with any significant amount of interactive functionality, and I made several attempts at building frameworks of my own to make it faster and simpler.
jQuery, Prototype, ExtJS/Sencha, Backbone.js and Angular all seemed promising, but none took enough of the pain away.
Since I started using React about 4 years ago, I've found building rich web applications a joyful experience for the first time in my career.
To be clear, I'm not using it for tasks where plain HTML/JS/CSS are adequate for the job. When I build basic info webpages, I just use plain HTML/JS/CSS, with maybe a bit of jQuery. It's fine.
But a lot of my work is on sites/applications where many data entities need to be updated in many different places across a view or the whole app frequently and quickly (notably, apps that display live weather/environment/crop data for farmers and researchers), and React with Redux makes it very simple to do, with the app still being lightweight and fast to load and very responsive to user interaction.
And it's a nice bonus that I can re-use a lot of the code for native-ish mobile apps using React Native.
But I only knew that React was useful for me, and learned how to use it, because I had a pre-existing need and many years of frustration using frameworks/libraries that didn't tick the boxes.
If the author isn't building products that would actually benefit from the introduction of React, then it's unsurprising that they don't see the benefit or find it easy to learn.
- haolez 5y agoThere is a significant caveat here: you mention "building rich web applications", but that is different than building a simple website.
- _fat_santa 5y agoNot really. React gives you the ability to create "rich web applications", but it can be used just as well for the most basic of landing pages. Couple that with SSR and you get basically the old "HTML,CSS,JS" setup with much better tooling,.
- megous 5y agoI can't call the constantly shifting sands of "nodejs" ecosystem a better tooling.
- arcturus17 5y agoI understand many React tools depend on Node but the React side of it has felt very stable to me in the last three or so years.
- jeremyjh 5y agoThe author went to some length to explain he is not talking about building web applications - but websites.
- tomhoward 5y agoWell, not so much "some length", but they introduce the distinction and make that clarification briefly towards the end of the post. But they don't go into detail about what the distinction really is. Some of the projects I've used React for have been consumer-facing, informational "websites", but have benefited from the structure and data integration that React enables. Anyway, is there really such a widespread pattern of employers requiring React experience when plain-vanilla HTML/JS/CSS is all that's needed on the job? The weight of the post rests on that assumption, but where's the evidence for it?
- arcturus17 5y agoAnecdotal, but a lot of front-end positions I see do require either of a) experience with some framework or b) experience with React specifically. But I agree with everything you’ve said in both your comments. I think that a lot of companies are asking for React because a lot of them are building web apps or “mildly interactive” websites, where (I agree with you) React is also fit for purpose.
- infomax 5y ago> jQuery, Prototype, ExtJS/Sencha, Backbone.js and Angular all seemed promising, but none took enough of the pain away. I feel the same. Coming from MooTools, Prototype, Dojo I have found that modern frameworks like Vue and Svelte make my life so much easier. The whole JavaScript ecosystem with Node.js and npm has helped such ideas/implementations/frameworks bloom and I'm grateful for that.