Front-end development today is massively overwhelming.
The React ecosystem is huge – Redux, React Router, Webpack, Babel… Where do you even start?
Most people begin by reading tutorials, but sifting through them to find the one that makes it 'click' is an exercise in frustration. On top of that, they dish out pages of code and leave it up to you to “learn by osmosis.”
If you've tried to learn React on your own, you've probably had the same experience I after sifting through countless tutorials and video, you still can’t cobble together your own app. One second you’re nodding along, sure that you understand. The next, you’re staring at a blinking cursor wondering what to type.
Thousands of people are already using React in their jobs or startups, and you can too -- once you figure it out.
But what if you could skip straight to being as productive with React as you are with your current framework of choice?
What if you were able to code as fast as you can think, using the JavaScript you know and love?
Writing apps could be fun again! And fast.
Teaching yourself React can be overwhelming… but it doesn’t have to be. You can master the fundamentals in a matter of days.
Here's the you need real practice. Not just nodding along to tutorials, but actually building examples and exercises. That's how you gain mastery, and this book will show you how.
You’ll get hands-on practice building a series of small components and micro apps – no big monolithic app here. The bite-size apps will have you reviewing concepts until they’re second nature.
With the included exercises you will be writing your own code right from the start – this isn’t a “copy, paste, watch it run” tutorial.
Don't worry, we won't build any "ToDo" apps. The world already has enough of those.
Learn to turn mockups directly into code, how to “think in components,” and how to handle changing state in React's world of one-way data flow.
Here's what the book
- Easy project setup with Create React App (you’ll be running code within minutes) - Debugging strategies for when things go wrong - Mastering JSX syntax, including “if”s, loops, and dynamic child components - Using props to communicate between components, and make them as reusable as possible - How PropTypes can save you time debugging and help “future you” remember how to use the components you wrote - Using the “children” prop to render dynamic content - How to write React in the modern ES6 style, with a gentle introduction to ES6 syntax (you don't need to know ES6!) - How input controls work in React (controlled and uncontrolled) - Where and how to properly use component state in a React application - Stateful vs Stateless components - The lifecycle of a component, and how to use it to your advantage
The book includes examples large and small, and 25 exercises to hone your knowledge.
Great introduction to React without wasting any time on topics that are usually bunched together with React tutorials like Redux, GraphQL, MongoDb and others. I felt the use of classes was a bit redundant but still good to have them included to know that they exist I guess.
It's really worth completing the exercises and examples at the end of each character which help you solidify what you've just read.
It is an excellent way of getting started to learn react. Although It is limited to react, it does it's job well by delivering the best practices in React like using PropTypes etc., I think that this should be updated to the latest react version using hooks.
Very easy to understand and complete introduction to the React Framework.
My first swag at learning React was working through the tutorial on reactjs.org, which left me confused.
Then I bought 'The Road to React', which had amazing reviews on Amazon, but it was just painful and useless.
Then I discovered 'Pure React'.
What a joy to work through this book. The author teaches you from the ground up how to break a page down into Components, drawing pictures etc.
Then he walks you over and over again through projects; setting them up , tying in everything, and explaining the difficult concepts in easy to understand language.
I would recommend this book to anyone looking to learn react quickly and painlessly .
Amazing introduction to ReactJS. The examples are concise and easy to follow. One other thing I enjoyed was all the exercises. They were…positively daunting.