Book description
React 16 Tooling covers the most important tools, utilities, and libraries that every React developer needs to know - in detail.
About This Book- Each chapter presents meta-development solutions to help React developers
- The tools used are presented in a practical, solution-oriented approach with no fluff
- The chapters are arranged in a logical order that mirrors a typical React development workflow, but you are free to tweak the approaches discussed to fit your own unique style
This book is for React developers of any skill level who want to make their lives easier. It helps to have some familiarity with React, but if you are an experienced web developer looking at React, then this book will show you how to build a resilient toolset around you before you begin.
What You Will Learn- Bootstrap a React application using create-react-app
- Isolate React component development using Storybook
- Write effective unit tests for your React components using Jest
- Ensure that your component code is to standard using ESLint
- Use browser extensions and built-in component instrumentation to debug React applications
- Enable type safety in React components with Flowtype
- Deploy React applications inside a Docker container as part of a larger application stack
React 16 Tooling covers the most important tools, utilities, and libraries that every React developer needs to know - in detail. As React has grown, the amazing toolset around it has also grown, adding features and enhancing the development workflow. Each of these essential tools is presented in a practical manner and in a logical order mirroring the development workflow. These tools will make your development life simpler and happier, enabling you to create better and more performant apps.
Adam starts with a hand-picked selection of the best tools for the React 16 ecosystem. For starters, there's the create-react-app utility that's officially supported by the React team. Not only does this tool bootstrap your React project for you, it also provides a consistent and stable framework to build upon. The premise is that when you don't have to think about meta development work, more focus goes into the product itself.
Other React tools follow this same approach to automating and improving your development life. Jest makes unit testing quicker. Flow makes catching errors easier. Docker containers make deployment in a stack simpler. Storybook makes developing components straightforward. ESLint makes writing standardized code faster. The React DevTools plugin makes debugging a cinch. React 16 Tooling clears away the barriers so you can focus on developing the good parts. In this book, we'll look at each of these powerful tools in detail, showing you how to build the perfect React ecosystem to develop your apps within.
Style and approachThis book covers React tools that help developers with the most relevant challenges they face today. Each chapter begins by defining the challenge faced by developers and why the tool is required, then shows how to fix the problem using React tooling.
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Preface
-
Creating a Personalized React Development Ecosystem
- What's included with React
- Introducing tooling?
-
React tooling covered in this book
- JSX needs to be compiled to JavaScript
- Newer JavaScript language features need to be transpiled
- Hot module loading to enable application development
- Running unit tests automatically
- Thinking about type safety
- Linting for code quality
- Isolating component development environments
- Providing a browser-based debugging environment
- Deploying React applications
- Choosing the right tools
- Summary
- Efficiently Bootstrapping React Applications with Create React App
- Development Mode and Mastering Hot Reloading
- Optimizing Test-Driven React Development
- Streamlining Development and Refactoring with Type-Safe React Components
- Enforcing Code Quality to Improve Maintainability
- Isolating Components with Storybook
- Debugging Components in the Browser
- Instrumenting Application State with Redux
- Building and Deploying Static React Sites with Gatsby
- Building and Deploying React Applications with Docker Containers
- Another Book You May Enjoy
Product information
- Title: React 16 Tooling
- Author(s):
- Release date: April 2018
- Publisher(s): Packt Publishing
- ISBN: 9781788835015
You might also like
book
React and Libraries: Your Complete Guide to the React Ecosystem
Harness the power of React and the related libraries that you need to know to deliver …
book
Test-Driven React
You work in a loop: write code, get feedback, iterate. The faster you get feedback, the …
video
Front-End Development with iPad Pro and Raspberry Pi 4: Using Spring Boot and React JS
In this third video, finish building a complex and practical web application anywhere with a minimalistic …
book
Create React App 2 Quick Start Guide
Integrate your React applications with React to build efficient web services. Key Features Learn React by …