The website running on ReactJS looks beautiful and most of the beginners in development get attracted to ReactJS (developed by Facebook) as well but a common mistake that a lot of developers and experienced people make is jumping directly into ReactJS (or some other library and framework) without knowing the prerequisites. If you will directly go to the React you will face a lot of problems while learning this library and in interviews as well.
We are going to discuss some prerequisites and some basic concepts that you should know before you jump to the React.
1. HTML AND CSS
Every front-end developer starts their journey with HTML and CSS. So before you start learning to react you should have a good command of writing HTML and CSS. You should know how to write semantic HTML tags, how to write CSS selectors, how to use classes, how to implement a CSS reset, box model, how to reset to border-box, flexbox, how to write responsive web applications including media queries, and how to build a frontend application using HTML and CSS.
4. Package Manager (Node + Npm)
5. Git and CLI (Command Line Interface)
Git (version control) is another must-have skill a developer should have to store their project on GitHub, Bitbucket, and GitLab (Code hosting platform). It helps developers to work and collaborate with each other and it allows them to track and host different versions of project files. You should have good knowledge that how Git and these code hosting platforms work. Developers use the command of Git to track the version of your files, so learn how to use all the commands such as push, pull, add, commit, etc. Also learn about merging, branching, handling merging conflicts, etc.
Everything in React you will be doing with the help of CLI (Command-line interface)