What IS React
Short introduction to React, the popular UI library backed by Facebook
Last updated
Was this helpful?
Short introduction to React, the popular UI library backed by Facebook
Last updated
Was this helpful?
React is an open-source front-end JavaScript library for building user interfaces or UI components. It is maintained by Facebook and a community of individual developers and companies. React can be used as a base in the development of single-page or mobile applications.
- official website
- documentation
As mentioned in the official documentation, the easiest way to start using React is to write the code directly in your HTML files. Start by including three scripts, the first two let us write React code in our JavaScripts, and the third, Babel, allows us to write JSX syntax and ES6 in older browsers.
Here is a Hello World in React
Also, the ability to work in the terminal and call system commands might speed up the development process. Once we have the NodeJS installed, we should install the create-react-app
command-line tool in the global scope.
Step #1 - Install create-react-app
(CRA) tool
Step #2 - Create the React app skeleton
This command will create a new directory reactapp
equipped with scripts and basic structure for a React project.
Step #3 - Install dependencies
Step #4 - Start the project (development mode)
The output should be similar to this:
CRA tool will open automatically the browser window with the React default page.
For more than a simple React app or template, AppSeed provided a generous index with full-stack starters built in React and powered by different technologies in the backend:
To properly run a React project the workstation needs a properly installed and accessible in the terminal.
- the ecosystem used by the React Library
A modern code editor like or
- a package manager for Javascript
(optional) - a faster alternative to NPM
- a Material-UI dashboard combined with an Express Backend
- open-source product bundled with Django
- premium dashboard bundled with multiple API Servers