+ 2
What are the main concepts to learn in React.js?
Hi koderz, before Ilearning a subject I like to get an overview of topics that need to be covered, such as the Table of content. What topics need to be covered in react?
4 odpowiedzi
+ 6
React.js is pretty lightweight so there is not much to learn which is why I think it's a great framework. Do yourself a favour and learn typescript though and do react+ts!
Things to do and look up:
- `npx create-react-app --typescript` which installs a lot of stuff
- Components
- JSX
- The difference between Props and State
- Function Components and the useState hook
And some time later:
- hooks in general, like useEffect and custom hooks
- refs and forwarding refs
- HOCs
- controlled vs. uncontrolled components
- state management with for example redux
- dynamic imports
- The virtual DOM
The reactjs.org website has some nice guides on all these topics :)
+ 1
Logomonic Learning I think that's the way to go these days yes! You should probably get familiar with the `connect` HOC too though as all the pre-hook react code is written this way.
0
Schindlabua do you need to learn redux with hooks?
0
yes