/begin-with-react-examples

React JS Beginner Tutorial examples

Primary LanguageJavaScript

1 - Introduction

React is an open source javascript library for building user interfaces.

React is a project created and maintained by Facebook.

React has more than a 100 thousand stars on GitHub and a huge community behind it.

React has become increasingly

popular among developers and is also one of the most sought out skill-sets by companies right now.

React has a component based architecture. This lets you break down your application into small encapsulated parts which can then be composed to make more complex UI. React is declarative.

React will make it painless for you to create complex UIs by abstracting away the difficult parts.

React will handle efficiently updating and rendering just the right components in your application when your data changes.

DOM updates which is one of the more expensive operations is handled gracefully in React.

copied from : https://www.youtube.com/watch?v=QFaFIcGhPoM&list=PLC3y8-rFHvwgg3vaYJgHGnModB54rxOk3 https://scotch.io/starters/react/using-create-react-app-to-make-react-applications

Create a New React App

Three way to create projects in to react

1. Using node package manager

npx create-react-app begin-with-react-examples
cd begin-with-react-examples
npm start 

2. Using npm

mkdir begin-with-react-examples
cd begin-with-react-examples
npm init
npm install --save react
npm install --save react-dom 

3. Install react in your package

npm install -g begin-with-react-examples
create-react-app begin-with-react-examples
cd begin-with-react-examples