Sitemap
Tharindu Chathuranga

Tharindu Chathuranga

Studding at SLIIT

React JS

2 min readMay 15, 2022

--

Press enter or click to view image in full size

What is React.js and how does it work:

React. js is an open-source JavaScript library that is used for building user interfaces specifically for single-page applications. It’s used for handling the view layer for web and mobile apps. We can also create reusable UI components with React.

React was first created by Jordan, a Facebook software engineer. React Facebook’s newsletter was launched in 2011. Then in 2012 Instagram.com was launched.

Developers can use React to create massive web applications that can modify data without reloading the page. React’s primary goal is to be quick, scalable, and easy to use. It only works on the user interface of the application. This applies to the view of the MVC mold. It can be integrated with other JavaScript libraries or used individually.

React.js Features:

1. Simplicity

ReactJS is simply easier to understand right away.

2. Simple to learn

React is simple to comprehend for anyone with a basic understanding of programming, whereas Angular and Ember are described to as ‘Domain-specific Languages,’ meaning that they are harder to learn.

3. Using a Native Approach

React may be used to develop mobile apps (React Native).

4. Data tying

React uses one-way data binding, and the Flux application architecture manages data flow to components through a single point of control — the dispatcher.

Get Tharindu Chathuranga’s stories in your inbox

Join Medium for free to get updates from this writer.

5. Performance React does not have a concept of a built-in dependency container.

Press enter or click to view image in full size

Advantages and Disadvantages:

Advantage:

Easy to learn, easy to use

Reusable components

The virtual DOM

Great Developers tools

It is easier to write with JSX

Single Programming Language

Cross-Platform Development

Simple to learn

Extensibility

Disadvantage:

The higher pace of development

Poor documentation

Lagging SDK updates

Lack of Library Support

Unstable API

--

--