ReactJS is Facebook generated language with a view to use DOM object of JAVA script for fast operation. IT deals more with Look and Feel i.e. VIEW aspect of the project. It has following advantages:-
– Component base development.
– Support Javascript DOM object and hence speedy in render on screen.
– Support both client and server side (with NodeJS) integration
– Support Javascript DOM object and hence speedy in render on screen.
– Support both client and server side (with NodeJS) integration
— Installation
Make sure you have both the given below software installed at your machine
node.js and npm.js. We are using following version of node.js:- v6.9.4 and npm -v:-3.10.10
Make sure you have both the given below software installed at your machine
node.js and npm.js. We are using following version of node.js:- v6.9.4 and npm -v:-3.10.10
1- Create a folder C:\ReactWorkSpace>
2- Execute this command
C:\ReactWorkSpace>npm install -g create-react-app
3- Create an app
C:\ReactWorkSpace>create-react-app siddhureactapp
2- Execute this command
C:\ReactWorkSpace>npm install -g create-react-app
3- Create an app
C:\ReactWorkSpace>create-react-app siddhureactapp
C:\ReactWorkSpace>create-react-app siddhureactapp
Creating a new React app in C:\ReactWorkSpace\siddhureactapp.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts…
Installing react, react-dom, and react-scripts…
4- cd siddhureactapp
npm install
npm install
5- Final start the npm using below command
npm start
npm start
Best IDE to use for React.
I personally prefer two IDE
1- Sublime text 3
2- Bracket
I personally prefer two IDE
1- Sublime text 3
2- Bracket
Note :- Please install follwing plugin in Sublime text 3 before using for React.
Preference –> Package control –>
https://github.com/reactjs/sublime-react
https://github.com/SublimeLinter/SublimeLinter-jsxhint
http://emmet.io/
https://github.com/SublimeLinter/SublimeLinter-jsxhint
http://emmet.io/
Other option can be exposed from
https://packagecontrol.io/
https://packagecontrol.io/