DEV Community

Keerthiga P
Keerthiga P

Posted on

REACT

What is React?
React is a JavaScript library used to build user interfaces (UI) — mainly single-page web applications.
It is used to create fast, interactive, and reusable UI components.

Why we use React?
React is a popular JavaScript library used to build fast, dynamic, and interactive user interfaces for web and mobile apps, primarily through its component-based architecture and Virtual DOM.

1️⃣ Component-Based
React splits the UI into small reusable parts called components.
1.Example: Header, Button, Login Form
2.Write once → use many times
3.Code neat & easy

2️⃣ Faster Performance (Virtual DOM)
React uses a Virtual DOM.
1.Page full-aa reload aagathu
2.Change aana part mattum update aagum
3.So app fast-aa work aagum

3️⃣ Single Page Application (SPA)
React apps are SPA.
1.Page refresh illa
2.Smooth navigation
3.Mobile app maari feel

4️⃣ Easy to Maintain
Reusable components
1. Clear code structure
2. Easy debugging
3. Big projects-ku perfect

Top comments (0)