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.
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...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.
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 🚀❤
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...