Jump to ratings and reviews
Rate this book

Pure React: A step-by-step guide to mastering React.

Rate this book
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.

Buy Pure React and start learning React today!

191 pages, Kindle Edition

Published July 9, 2017

14 people are currently reading
92 people want to read

About the author

Dave Ceddia

1 book4 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
26 (57%)
4 stars
12 (26%)
3 stars
6 (13%)
2 stars
1 (2%)
1 star
0 (0%)
Displaying 1 - 7 of 7 reviews
Profile Image for Shiraz.
45 reviews
August 9, 2019
well made, decomplexing, Dave writes funny.
Profile Image for Matija Ziberna.
65 reviews1 follower
February 8, 2022
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.
Profile Image for Sai Yerni  Madabattula.
17 reviews
September 21, 2019
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.
Profile Image for Jeff Roche.
25 reviews
July 4, 2019
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 .
12 reviews
February 27, 2020
Excelent book for starting 0 to 100 wih React.
I'd recommend to follow by other books but this one as first approach is great.
Profile Image for Kenny.
67 reviews
May 2, 2022
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.
Displaying 1 - 7 of 7 reviews

Can't find what you're looking for?

Get help and learn more about the design.