Here the things you need to know before you start learning React.
- HTML, CSS Every website developers journey starts from HTML and CSS. HTML is the skeleton of a website and CSS adds beauty to it. You should know about HTML tags and how to use them, about classes, CSS selectors media queries, flexbox and gridbox. Also how to use CSS frameworks(which is to make work easier, not compulsory)
- JavaScript and JSX React uses JSX. JSX is JavaScript and HTML together.
let name = <h1>My Name is Victor</h1>
The code above is JSX. It may look confusing at first but it's actually easy. You need to have the fundamentals of JavaScript. By fundamentals, I mean you should know
- About variables, booleans, strings, numbers etc.
- Operators, functions, loops, conditionals, array, objects, array methods
- Event handling
ES6
Node and NPM You will be installing small packages in React and you will need an installer. NPM(Node Package Installer) is used. You need to have Nodejs installed for you to be able to use NPM. Check out this post on how to install Node with NVM(Node Version Manager)
And that's it. You are ready to learn React. Start now, Start today.