Talk to about React JS

Md. Samsul Shekh
2 min readMay 7, 2021

React JS

React js is a javascript library for building user interfaces. It not a framework. It not not complete solution for you. But you can use other library with react js.

React tree reconcilation

Before the coming of react, when we needed browser api, who is known as DOM API. Any operation of DOM give same output. That’s why developer sometime going to be bored. But that’t the point, react come and solve this boring issuse. React give developer like a virtual dom. React work like a agency who connect us with DOM very easily.

How to do work React render

This is entry point of react application into browser dom. It has two arguments. Firstly, what to render browser which is react element. Secondly, where to render that react element in the browser.

React all about components

React is very popular and used library. Because, react use component. Component make react very easier and friendly. That’t why programmer choice react for better experience.

JSX and HTML differences

Browser can’t understand JSX. But browser understand HTML. Firstly, JSX converted to html. JSX is look like html. But JSX used JavaScript in HTML. Programmer relax for this features. They can use javascript in HTML tags. This is very helpful for programmers.

React props

React many components in an application. Many times need to transfer data from one component to other components. The data we received by props. Props make react very easier.

Expressions of JSX

Programmer need use javascript expression in JSX. Using expressions in JSX make functionality very easier. We can use functional expressions in JSX. As a result out code is very sorter than other way, and save time.

Functional components

Functional components in newer version in react. The functional components like every programmer. The functional components very easier than class components. Functional components best for using hooks.

Class components

Class components used react when it start. class components is old version. At present many software company use class components in their projects. Class components has some features which better than functional components.

Functional components VS class components

React use class components in start there journey. But functional components is newer version in react. Class components is very tough to used than functional components. Functional component have many features than the class components. Functional components is very easier to used than class components.

--

--

Md. Samsul Shekh
0 Followers

I am samsul. I am a frontend developer.