DEV Community

Cover image for Step 1: What you WANT to know about REACT.js
Ayo
Ayo

Posted on

Step 1: What you WANT to know about REACT.js

React.js

What is it?

It's a front-end javascript library that helps us build user interface (UIs) by employing reusable components


FOR EXAMPLE

Let's say you're looking to build a city from scratch right? Now, to build a city you're going to need a few things. Let's say a park, some houses, a few skyscrapers, maybe a few pandas too from China etc;

(IT'S A WEIRD CITY, I KNOW!)

So:

  • UI = Our City
  • Reusable Components = Your individual park, house, skyscraper, panda components etc; etc;

Components in this manner are just building blocks that we can either create and/or import to help build our overall UI!!

Shocked Face


And if you're STILL in doubt and someone asks you what React is, then just say its lego blocks but for computers ๐Ÿคฃ - hey, it worked for me!

Top comments (0)