▶Book Description
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.
▶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 stac
▶Who This Book Is For
This book is intended for React developers who are constantly on the lookout for better tools and techniques to up their game. While React experience isn't a strict requirement for reading this book, you'll get the most value if you understand some of the basics of React beforehand.
▶What this book covers
⦁ Chapter 1, Creating a Personalized React Development Ecosystem, introduces the motivations for tooling in React projects.
⦁ Chapter 2, Efficiently Bootstrapping React Applications with Create React App, gets you up and running with create-react-app.
⦁ Chapter 3, Development Mode and Mastering Hot Reloading, shows you how to develop your React application using a development server and hot module reloading.
⦁ Chapter 4, Optimizing Test-Driven React Development, teaches you how to incorporate Jest unit testing into your project.
⦁ Chapter 5, Streamlining Development and Refactoring with Type-Safe React Components, introduces type-safety with React components using Flow.
⦁ Chapter 6, Enforcing Code Quality to Improve Maintainability, gets you started with ESLint and Prettier—.tools for enhancing the quality of your code.
⦁ Chapter 7, Isolating Components with Storybook, shows you have to isolate component development from the rest of your application using Storybook.
⦁ Chapter 8, Debugging Components in the Browser, goes into depth on the React Development Tools browser plugin to assist with React component debugging.
⦁ Chapter 9, Instrumenting Application State with Redux, introduces the Redux DevTools browser plugin, providing you with a clear picture of your application state.
⦁ Chapter 10, Building and Deploying Static React Sites with Gatsby, teaches you how to create static websites using Gatsby and React components.
⦁ Chapter 11, Building and Deploying React Applications with Docker Containers, shows you how to deploy production-ready React applications to containers.