A benefit of React
- Virtual DOM
- JSX Support
- SEO Friendly
- Reusable Component
- Easy to Learn and use
Virtual DOM
Virtual DOM is used by React to render views. The virtual representation of the real DOM is known as the virtual DOM. When data changes, a new virtual DOM is created.
JSX Support
JSX (JavaScript XML) support means we can write HTML inside JavaScript files
SEO Friendly
Using React Helmet for SEO makes React very SEO friendly
Reusable Component
Components in React are used everywhere. We have HOCs (Higher Order Components) for reusing them
Easy to Learn and use
Since it is widely used in the market today, there is a lot of support and tutorials available