The only answer you need before digging into React
React was initially developed by Facebook as a solution to front end problems they are facing:
DOM manipulation is an expensive operation and should be minimized
No library specialized in handling front-end library at the time (there is Angular, but it’s an ENTIRE framework.)
Using a lot of jQuery is causing spaghetti code
In 2013, React was released as an open source library, and since then it has been widely loved by the community.
Why developers love React? As a software developer myself, I can think of a few reasons why I love it:
create-react-appfor quickly trying React.
It’s minimalist in nature React takes care of only ONE thing: the UI. We can think of React as the “V” in an MVC framework. Yes, we can use PHP/Rails/Go/Python or whatever language we prefer for backend.
A strong community support To enhance React’s capabilities, open source contributors have build an amazing ecosystem of libraries that enables us to make even more powerful application. This comes at a cost of increased complexity in the front end.
The bottom line is that with a small learning curve, React gives you incredible power in making your UI flexible, reusable and controlled. The core topics you have to master in React are:
We will discuss about them in future posts, so stay tuned.