React-Redux How To Start Guide
React-Redux How To Start Guide
There are a couple of things that you must have before starting with React:
Basic understanding of HTML
Basic understanding of CSS
Basic understanding of JavaScript
Basic understanding of the DOM
Understanding of some ECMAScript6+ syntax and features
Also, it is beneficial (but absolutely not necessary) to have some prior knowledge
and experience with some other front-end framework (Angular, Vue…)
The core ECMAScript6+ features that are often used in React:
Declaring variables with “let” and “const”
Arrow Functions
Exports and Imports
The Spread and Rest operators
Destructuring
Code editor
You can use your preferred code editor (Visual Studio Code, Atom, Sublime Text,
Vim…).
Personally, I use Visual Studio Code, which is a free, lightweight, open source code
editor by Microsoft. It is easy to use and personalize to your needs, and there are
literally thousands of different add-ons built for it that can help you a lot with
your coding process. You can download visual studio code from here:
https://code.visualstudio.com/Download
Some useful Visual Studio Code extensions:
Sublime Babel – syntax highlight coloring
XO – code linter for XO (or you can use any other linter like ESLint)
Bracket Pair Colorizer 2 – colorizes matching brackets
GitLens – enhances Git capabilities in Visual Studio Code
LiveShare – enables real-time collaboration of teams on the same code
ES7 React/Redux/GraphQL/React-Native snippets – generates code
snippets for React/Redux/GraphQL/ReactNative
There are a couple of things that you need to install in order to be able to create
React project and start working on it
NodeJS: https://nodejs.org/en/ - JavaScript runtime
npm: installed when you install NodeJS – node package manager, used for
installing node packages to your project (like React, Redux…)
Create React App is an easy way to start with React. It creates React app with the
most basic structure and the least amount of needed files. To create React app,
open your console, navigate to the folder where you want your project to be
created and run the following command:
npx create-react-app name-of-your-app
The best way to start learning React is the one that fits you. Some prefer to read
documentation and blog posts, some prefer to watch video tutorials, others like
to get their hands dirty and play around with code. That’s why I’ll include different
kinds of tutorials, blogs and documentation that I have used when I started with
React, some of which are free and some are paid, but feel free to use something
else if that fits you better.