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?
[ Parent
| on HN ]
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.
Its 85kb. I wouldn't say its a huge dependency. I rather keep it than having to learn an entirely new framework.
Are you referring to vanilla JS as an entirely new framework?
No, of course not. Vanilla JS is a scripting language. I was referring to React.
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.