ReactJS is one of the most popular frontend technology which uses the power of JavaScript to render a dynamic DOM and provide a object orientated approach to manipulate the document. ReactJS is created by Facebook development team but it’s open source to use, and that gives developer community to really see the actual code before using it in production. NPM & Yarn package manger make this JavaScript frontend framework best choice to use by developer.
To start with ReactJS you need to follow a very few simple steps like:
- Install NodeJS [https://nodejs.org/en/]
- Install npm
npm install -g npm
- Create New React App
npx create-react-app my-app
If we talk about react feature and why we should use it. I can summarize that in few points as:
- JSX – JavaScript XML, is a new way of writing html logical code. The will still output a html block but gives you control to perform logical operations, loops and conditional display.
- Components – Best part I love for any programming language is it have the ability of code segregation. React components are build for that purpose so that you write one time and use it at multiple projects or location. like you create a footer component and use through out of the application.
- One-Way Data Binding – Data binding is one of the most important concern of any frontend framework. React gives the ability to do one way data binding, which makes the component immutable and data within the component can not be changed from external source.
- Virtual DOM – React adds it’s own layer of DOM object on top of original browser DOM, which gives the flexibility of re-render the UI without changing the actual DOM.
- Performance – React is known for high performance application like Facebook which is UI extensive. The reason behind high performance is that we do not work on actual DOM but do all activity in virtual DOM.
Do check the tools I created to generate REACT JS Admin Panel
- NodeJS REST API + ReactJS Admin Panel Generator from MySQL + JWT + Postman Json
- Laravel REST API Generator With React Admin Panel Generator + JWT Auth + Postman
- ReactJS Admin Panel Generator MaterialUI With PHP REST API Generator From MySQL + JWT Auth + Postman
No Comments
Leave a comment Cancel