codebar / tutorials

🗒 codebar's tutorials
http://tutorials.codebar.io/
258 stars 241 forks source link

Move away from jQuery in favour vanilla JS? #445

Open VirtualDOMinic opened 5 years ago

VirtualDOMinic commented 5 years ago

What are people's thoughts on moving away from the jQuery tutorials in favour of "vanilla" JS equivalents (e.g. things like document.querySelector)? This is for the usual reasons (jQuery is being used less and less, vanilla js/browser APIs are great for ~99% of what we'd want to do with jQuery, unnecessary bulk...) and because so many students end up using libraries/frameworks like React which still benefit from vanilla JS knowledge, but don't really benefit at all from jQuery knowledge.

Disclaimer: I've never really had to learn jQuery, and my main experience of it is converting jQuery code examples into vanilla (there are several useful resources for this :) )

I'd happily have a go at this, but can't guarantee the timeliness. Also I haven't checked how extensively jQuery is used/referred to after the jQuery-specific tutorials.

docljn commented 5 years ago

I learned vanilla js before I learned jQuery and I think that is a better way to understand

brunogirin commented 5 years ago

We discussed this a number of times in organiser meetings and I think we generally agree it would be a good thing to do, we just don't have the time to do it. That said, PRs will be happily accepted.

On a wider note, it would be good if the JS tutorial dovetailed into the HTML+CSS ones. All of them need updating based on feedback from students and coaches.

I'm happy to coordinate the work and draft a plan of action.