Getting To Know About React JS

HIRUSHA
2 min readJun 4, 2021
React JS

What is React JS ?

  • Facebook built the React JavaScript library.
  • React is a UI component development tool.

History

  • Jordan Walke, a Facebook software engineer, designed React.
  • It was originally used in the Facebook News Feed in 2011, and then on Instagram in 2012.
  • It was released as open source in May 2013 at JSConf US.

Key Features of React JS

JSX

JSX stands for JavaScript XML. It is a syntactic extension for JavaScript. We may create HTML structures in the same file that contains JavaScript code by utilizing JSX.

Components

Components are crucial to ReactJS. The ReactJS application is made up of several components, each with its own logic and controls.
There are Two types of components in React JS

  1. Stateless Functional components
  2. Stateful class component

Virtual Dom

A virtual DOM object is a copy of the actual DOM object. It functions similarly to a one-way data binding. When the web application is modified, the complete UI is re-rendered in virtual DOM representation. Then it compares the former DOM representation to the new DOM representation. After that, the true DOM will only update the elements that have truly changed. This is an example. This speeds up the program and eliminates memory waste.

Performance

ReactJS is well-known for its high performance. This characteristic sets it apart from other frameworks on the market today. This is due to the fact that it controls a virtual DOM. The DOM is a cross-platform computer programming API for HTML, XML, and XHTML. The DOM is exclusively contained inside memory. As a result, when we created a component, we did not immediately write to the DOM.

Features of React Js

Advantages of React JS

  • Simple to Understand and Use
  • Components That Can Be Reused
  • ReactJS provides more reliable code.
  • ReactJS is search engine friendly.
  • Popular worldwide

Disadvantages of ReactJS

  • The increased the opportunities of development
  • Poor Documentation
  • JSX as a barrier

Global Companies That Use ReactJS

  • Facebook
  • Instagram
  • Whatsapp
  • Discord
  • DropBox
  • Netflix
  • Airbnb
Companies that use React JS

--

--