DEV Community

Cover image for REACT
Parthipan M
Parthipan M

Posted on

REACT

What is React?

  • React is a front-end JavaScript library.

  • React was developed by the Facebook Software Engineer Jordan Walke.

  • React is also known as React.js or ReactJS.

  • React is a tool for building UI components.

  • React is a free, open-source JavaScript library used to build user interfaces (UIs), primarily for single-page web applications.

In simple words:

React helps you create web pages using small, reusable pieces called components.

Examble:

  • Navbar
  • Search bar
  • Form
  • Product cord
  • Button
  • Footer
function Welcome() {
  return <h1>Hello, World!</h1>;
}
Enter fullscreen mode Exit fullscreen mode

Why use React?

  1. Reusable components – Write a component once and use it many times.

  2. Fast UI updates – React efficiently updates parts of a page when data changes.

  3. Easy to organize – Large applications can be divided into smaller components.

  4. JavaScript-based – You can use JavaScript logic directly with your UI.

  5. Popular ecosystem – React is widely used for modern web applications.

React vs JavaScript

Top comments (0)