- JSX − JSX is JavaScript syntax extension. It isn't necessary to use JSX in React development, but it is recommended
- Uses virtual DOM which is a JavaScript object. This will improve apps performance since JavaScript virtual DOM is faster than the regular DOM.
- NodeJS is the platform needed for the ReactJS development.
- You can install NodeJS in two ways
- Using webpack and babel.
- Using the create-react-app command.
- Webpack is a module bundler (manages and loads independent modules). It takes dependent modules and compiles them to a single (file) bundle. You can use this bundle while developing apps using command line or, by configuring it using webpack.config file.
- Babel is a JavaScript compiler and transpiler. It is used to convert one source code to other. Using this you will be able to use the new ES6 features in your code where, babel converts it into plain old ES5 which can be run on all browsers.
C:\Users\username\Desktop\reactApp>npm init
C:\Users\Tutorialspoint\Desktop\reactApp>npm install react --save C:\Users\Tutorialspoint\Desktop\reactApp>npm install react-dom --save
Or, you can install all of them in single command as −
C:\Users\username\Desktop\reactApp>npm install react react-dom --save
babel-preset-es2015
babel-preset-stage-2
jscript - es 6, format, browser will not .. download babel to change to es5.. add it in bundle will downgrade
-- v6 engine, --
venilla js - es5
- Can be used on client and server side as well as with other frameworks.
- Covers only the view layer of the app, hence you still need to choose other technologies to get a complete tooling set for development.
What is VUE?
Vue.js lets you extend HTML with HTML attributes called directives
Vue.js directives offers functionality to HTML applications
Vue.js provides built-in directives and user defined directives
No comments:
Post a Comment