Email the Author

You can use this page to email Paul Hudson about Hacking with React.

Please include an email address so the author can respond to your query

This message will be sent to Paul Hudson

This site is protected by reCAPTCHA and the Google  Privacy Policy and  Terms of Service apply.

About the Book

It's impossible to work on the web without having heard about React. Facebook developed it, but Airbnb are using it, as are Netflix, Uber and many more. And with good reason: React is a whole new way of developing complex web applications in a way that allows you to spend more time writing great code and less time fighting with the DOM.

I wrote Hacking with React with one goal in mind: to teach React coding in the fastest, most efficient way possible. After setting up your computer so that it's ready for development, you start coding with React immediately – there's no boring "History of web" chapter that rants on about how the internet was created. Instead, it's all code, all the time.

"What code is it?" I hear you ask. Well, let me tell you: it's React 0.14, the incredible new user interface toolkit. It's React Router, the smartest way to load and unload components as users change URL. It's JSX, the incredible new JavaScript syntax extension that lets you write inline XML. It's ES6, Webpack and Babel so you get to use powerful new features like string interpolation and classes along with hot reloading for faster development. It's Jest and ESLint, so you can write tests that prove your code works and has consistent syntax.

In short, it uses the very latest technology the web has to offer so that you learn quickly and easily.

Here are just some of the topics covered:

  • How to install Webpack, Babel and React for development with ES6.
  • How to create a React component and import it into an application.
  • How to write JSX to render content.
  • How to use props to give a component values.
  • How to handle events such as onClick.
  • How to use React state, and how it differs from props.
  • How to fetch data from GitHub using SuperAgent and Ajax.
  • How to use string interpolation and computed property names.
  • How to create routes using React Router.
  • How to create links between pages using <Link>.
  • How to render default content using <IndexRoute>.
  • How to use Jest to test React component rendering.
  • How to use Jest to simulate user interface with controls.
  • How to create asynchronous tests using waitFor() and runs().
  • How to lint your React code using ESLint and Babel.

In short, this book is the fastest way to get up to speed with React development, and is guaranteed to jump start your learning. Even better, your purchase includes any future updates free of charge!

You can download the complete source code for the book from GitHub at https://github.com/twostraws/HackingWithReact.


About the Author

Paul Hudson’s avatar Paul Hudson

@twostraws

Paul Hudson is an award-winning developer and technical writer, having published Hacking with Swift, Hacking with PHP, PHP in a Nutshell, Ubuntu Unleashed, and been editor of Linux Format magazine. His apps are used by the likes of MacLife magazine, Edge magazine, Fender, Virgin, Jamie Oliver, Odeon, Tesco, and more.

Logo white 96 67 2x

Publish Early, Publish Often

  • Path
  • There are many paths, but the one you're on right now on Leanpub is:
  • Hackingwithreact › Email Author › New
    • READERS
    • Newsletters
    • Weekly Sale
    • Monthly Sale
    • Store
    • Home
    • Redeem a Token
    • Search
    • Support
    • Leanpub FAQ
    • Leanpub Author FAQ
    • Search our Help Center
    • How to Contact Us
    • FRONTMATTER PODCAST
    • Featured Episode
    • Episode List
    • MEMBERSHIPS
    • Reader Memberships
    • Department Reader Memberships
    • Author Memberships
    • Your Membership
    • COMPANY
    • About
    • About Leanpub
    • Blog
    • Contact
    • Press
    • Essays
    • AI Services
    • Imagine a world...
    • Manifesto
    • More
    • Partner Program
    • Causes
    • Accessibility
    • AUTHORS
    • Write and Publish on Leanpub
    • Create a Book
    • Create a Bundle
    • Create a Course
    • Create a Track
    • Testimonials
    • Why Leanpub
    • Services
    • TranslateAI
    • TranslateWord
    • TranslateEPUB
    • PublishWord
    • Publish on Amazon
    • CourseAI
    • GlobalAuthor
    • Marketing Packages
    • IndexAI
    • Author Newsletter
    • The Leanpub Author Update
    • Author Support
    • Author Help Center
    • Leanpub Authors Forum
    • The Leanpub Manual
    • Supported Languages
    • The LFM Manual
    • Markua Manual
    • API Docs
    • Organizations
    • Learn More
    • Sign Up
    • LEGAL
    • Terms of Service
    • Copyright Policy
    • Privacy Policy
    • Refund Policy

*   *   *

Leanpub is copyright © 2010-2025 Ruboss Technology Corp.
All rights reserved.

This site is protected by reCAPTCHA
and the Google  Privacy Policy and  Terms of Service apply.

Leanpub requires cookies in order to provide you the best experience. Dismiss