DEV Community

Discussion on: Should I start by learning vanilla Javascript or a framework?

Collapse
 
ytjchan profile image
ytjchan

Felt the same with catching up when trying out React with JS knowledge but not much ES6:

Oh it uses classes like OOP languages, neat. Let me learn how objects are instantiated in ES6 and the this... Oh it has functional components too, check. So time for arrow functions and no this... Now hooks are in the mix too so object destructuring... I want to know React but ES6 has somewhat deepened the learning curve (for me).

Yet not all code examples on the web use the same convention or are the most updated. And the build tools are more things to get a hold of. I had to switch mindsets here and there, looking up stuff again and again. It's not so easy to focus and get the gist of React.