DEV Community

Discussion on: Things you should master before you jump on React.js !!

Collapse
jonsilver profile image
Jon Silver • Edited

I'd go a lot further than a basic knowledge of Javascript. You need to intimately understand Javascript fundamentals like lexical scopes and closures, and referential equality vs value equality, so you can understand why function-based components and hooks work the way they do. Most Javascript developers have no idea about these concepts until they're forced to relearn by diving into React, which can be a much more painful introduction to the craft than learning Javascript properly beforehand.

Collapse
mayank0508 profile image
Mayank Kumar Author

got it that's why i used to always have a bit of confusion in the hooks, thanks for this recommendation, it will help many new react.js devs 🚀❤

Collapse
jonsilver profile image
Jon Silver • Edited

It's such an important topic it deserves its own article or book. Many authors have covered these Javascript fundamentals already going back many years. But if you're already in React and wanting to learn more... there's a man far better qualified than me who could write a much better article on the subject, and in fact he already did... Thanks Dan Abramov! overreacted.io/a-complete-guide-to...