Day 1 of 50 Days of React: What is React and Why do we need it?

Aman Khan
2 min readJul 14, 2022

--

Hi🙋‍♂️ Devs, so let’s get started with the basics.

Q. What is a React?

A JavaScript library for building user interfaces.

That’s what the doc says.🤔

Scratching Head Let me explain:

Every Application/Product built up on components stick together to form a giant working thing💫.

Q. Why Do we need React?

A. If you wanna solve a Big Unsolvable Problem then split it into small solvable problems. That’s where React Shines🌟.

Now why do I recommend it :

  • Its easy to start🤩.
  • Declarative😀 : First of all who don’t know what does declarative means “With declarative code, we tell JavaScript what we want to be done, and let JavaScript take care of performing the steps. React is declarative because we write the code that we want and React is in charge of taking our declared code and performing all of the JavaScript/DOM steps to get us to our desired result.”
  • Learn Once, Write Anywhere🤗: We can develop new features in React without rewriting existing code. React can also render on the server using Node and power mobile apps using React Native.
  • Component Based: Since component logic is written in JavaScript instead of templates, you can easily pass rich data through your app and keep state out of the DOM🤨.

Maybe you don’t get everything stated here but you will get the basic idea why it’s in your best interest to learn React first.

Next Lecture I will be talking about why should you learn React First. So join me on this journey.

Thanks for Following and Claps😋

Link to Day 2

Link to Starter Page

--

--

Aman Khan

Blockchain and Web3 Engineer Crafting compelling stories at the intersection of tech, business, and culture.