React JS - Framework
React is a lightweight yet powerful JavaScript framework for creating user interfaces.
It solves many problems of developer, like easy state management and updating, creating interactive UIs, a big library support, routing, reusable components (write once use everywhere) and a huge community of developers working day and night to improve the framework.
After the introduction of react hooks in React 16.8, function component are now the standard way of writing react components, so it is recommended that a new developer focuses more or functional components rather than class based components.
In react we can write both HTML and JavaScript in the same file (called JSX syntex), it gives us more control and facilities over our code.
** Note - Some developers say it's a library not a framework (this is arguable but does not make a difference for the react itself). On official React website it is said to be a library.
Some other definitions of react are :
1. React is a free and open-source front-end JavaScript library for building user interfaces based on UI components. It is maintained by Meta and a community of individual developers and companies.
2. A JavaScript library for building user interfaces
Where can you learn react from :
Video Courses and Playlists
How to you write a simple react component (In TypeScript)
"vs" how do you write it in html
HTML may seem minimal, but when you code in React (JSX), we no more have to deal with state updating and other mind burningš„steps.
I hope this write up helped you with basic understanding of React and where to learn it from.
Please do learn React, it is an extremely powerful framework for making user interfaces fast and efficient.