Hacker News new | ask | show | jobs
by jiggliemon 2945 days ago
jQuery was never bad. As a tool it was fantastic at what it did.

But jQuery wasn’t just a tool, it was also community. What that community did/perpetuated was some pretty bad and ill advised practices. Plugins for everything - the old $.sum(2,2) joke applies here. DOM for state. Even sanctioned projects like jQuery UI were guilty of some terrible, awful practices.

That said, React isn’t the new jQuery, it’s the new Backbone. Backbone lacked so much - and did so little - that it’s deficiencies needed to be made up for by “other” tooling. As a result, there was O(n) ways to “Backbone” – making backbone apps very difficult to study/build/maintain.

React is fine. The community just needs to coalesce.

Edit: typing on my phone; and am lazy

1 comments

I think a lot of that does happen with React. Before Redux there were so many Flux-like libraries. material-ui and react-bootstrap are very widely used for UI/UX baseline. There are a ton of options for everything, for me it comes down to the following.

react, redux, thunks (with async functions), fetch, material-ui ... those will get you a LONG way to where you need to be with react.