Why ReactJS is gaining so much fame
Coding

Why ReactJS is gaining so much fame?

Why ReactJS is gaining so much fame: ReactJS is an open-source JavaScript library designed by Facebook for creating rich and engaging web apps fast and efficiently with minimal coding. It is an open-source library mostly used by frontend developers which will help to make their life easy and interesting. ReactJS allows a developer to break down the complex UI into simpler components instead of working on the entire web app.

React JS was created by the facebook Software Engineer, Jordan Walke in 2011. React JS was first used in 2011 for Facebook’s Newsfeed feature and later in Instragram at 2012. React has managed to get a lot of popularity since then.

Also check, why programmers hate light themed ide?

Why ReactJS is gaining so much fame?

While other technologies such as Angular were available when Facebook developed ReactJS, most developers were forced to do a lot of coding. Developers using other frameworks had the challenge of having to rework most codes even when crafting components that changed frequently. What they wanted was a framework that could allow them to break down complex components and reuse the codes to complete their projects faster.

ReactJS provided the solution that developers were looking for. It uses JSX (a unique syntax that allows HTML quotes as well as HTML tag syntax application for rendering specific subcomponents) This is very helpful in promoting construction of machine-readable codes and at the same time compounding components into a single-time verifiable file.

Today, ReactJS has become highly popular because of its extra simplicity and flexibility. Many people are even referring to it as the future of web development. It is estimated that more than 1,300 developers and over 94,000 sites utilize ReactJS.

The most interesting thing about React is it uses JSX which is a syntax extension to Javascript. It is a tool that allows us to type HTML looking code directly in javascript. It is not compulsory to use JSX in React but most people find it helpful as a visual aid when working with UI inside the JavaScript code. It also allows React to show more useful error and warning messages.

JSX examples:

Here is a code written in React

<MyButton color="blue" shadowSize={2}>
  Click Me
</MyButton>

Now this is how JSX compiles the code.

React.createElement(
  MyButton,
  {color: 'blue', shadowSize: 2},
  'Click Me'
)

The code is compiled using Babble. Check this link so that you can see how JSX works behind the scene.

If you are familiar with the term HTML, CSS and Javascript I suggest you to try to React for the frontend because trust me it makes your life way much easier.

5 1 vote
Article Rating
Subscribe
Notify of
guest
14 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
Awebisam

Nice article.
Although I am a Vue developer, React fascinates me a lot.

Elesh

What are the resources to learn it ?

Hricha Maharjan

you can find awesome paid course in udemy but if you like to have an unpaid course you can download the cr@-ck version as well and you can also visit react docs to know more about react.

Last edited 3 months ago by Richa Maharjan
Dr. Golzalwiz Gamte

Mam, we need a article on How to use django with react?

Sandy Sharma

So, should I learn react js or vue js or angular?

Awebisam

I’d suggest you to try all and pick one.
I personally preferred Vue but that might not be the case for everybody.
Best Wishes. 🙂

Sandy Sharma

Brother! Which one has large scope and opportunities?

Hricha Maharjan

Nowdays react is gaining a lot of fame and also in real world clients demand react instead of other frameworks but its ur choice to choose one.

Dr. Golzalwiz Gamte

Why did you choose to work with react, mam?

Dr. Golzalwiz Gamte

Also is react the best framework to start with?

Dr. Golzalwiz Gamte

Can you share a article on react js for dummies? We would really appreciate it.

neeraj

how to motivate myself to like frontend?

14
0
Would love your thoughts, please comment.x
()
x