News for hackers. Stuff that matters.
Re:Learn React by building a web app by sakarisson on Wednesday April 11, 2018 @02:41AM (#16808616)
The first time I saw that site, I assumed it was a joke. Seems more to me like it's trying to tell people how nice jQuery is. Who would look at that and walk away with the opinion that jQuery is unnecessary?
Re:Learn React by building a web app by ForHackernews on Wednesday April 11, 2018 @04:49AM (#16809211)
The idea is that if you're building your own Javascript library, you can avoid the huge dependency of jQuery.

If you're developing a user-facing app, then yeah, jQuery is still pretty darn helpful.

Re:Learn React by building a web app by 12312313 on Wednesday April 11, 2018 @09:10AM (#16810718)
Its 85kb. I wouldn't say its a huge dependency. I rather keep it than having to learn an entirely new framework.
Re:Learn React by building a web app by kaishiro on Wednesday April 11, 2018 @09:12AM (#16810734)
Are you referring to vanilla JS as an entirely new framework?
Re:Learn React by building a web app by 12312313 on Wednesday April 11, 2018 @09:19AM (#16810784)
No, of course not. Vanilla JS is a scripting language. I was referring to React.
Re:Learn React by building a web app by reacweb on Wednesday April 11, 2018 @03:54AM (#16808941)
I think it is unopinionated. I like it very much because it teaches how to do things in plain javascript.
Re:Learn React by building a web app by combatentropy on Wednesday April 11, 2018 @10:51AM (#16811618)
jQuery is still great for web applications.

The site suggests you try not to make it a dependency if you're writing a JavaScript library. I also suggest vanilla JavaScript for simple pages that need just a smattering of interactivity.