Chapter 1. Welcome to React
What makes a JavaScript library good? Is it the number of stars on GitHub? The number of downloads on npm? Is the number of posts that ThoughtLeaders™ write about it on a daily basis important? How do we pick the best tool to use to build the best thing? How do we know it’s worth our time? How do we know it’s good?
When React was first released in 2013, there was a lot of conversation around whether it was good, and there were many skeptics. It was new, and the new can often be upsetting.
To respond to these critiques, Pete Hunt from the React team wrote an article called “Why React?” that recommended that you “give it [React] five minutes.” He wanted to encourage people to work with React first before deciding that the team’s approach was too wild.
Yes, React is a small library that doesn’t come with everything you might need out of the box to build your application. Give it five minutes.
Yes, in React, you write code that looks like HTML right in your JavaScript ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access