Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
React 16 Tooling

You're reading from   React 16 Tooling Master essential cutting-edge tools, such as create-react-app, Jest, and Flow

Arrow left icon
Product type Paperback
Published in Apr 2018
Publisher Packt
ISBN-13 9781788835015
Length 298 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Adam Boduch Adam Boduch
Author Profile Icon Adam Boduch
Adam Boduch
 Pitt Pitt
Author Profile Icon Pitt
Pitt
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
1. Creating a Personalized React Development Ecosystem FREE CHAPTER 2. Efficiently Bootstrapping React Applications with Create React App 3. Development Mode and Mastering Hot Reloading 4. Optimizing Test-Driven React Development 5. Streamlining Development and Refactoring with Type-Safe React Components 6. Enforcing Code Quality to Improve Maintainability 7. Isolating Components with Storybook 8. Debugging Components in the Browser 9. Instrumenting Application State with Redux 10. Building and Deploying Static React Sites with Gatsby 11. Building and Deploying React Applications with Docker Containers 1. Another Book You May Enjoy Index

Summary


This chapter was all about enforcing the code quality level of your React projects using tools. The first tool you learned about was ESLint. You learned how to install and configure it. Rarely should you have to manually configure ESLint. You learned how to use the ESLint initialization tool that walks you through the various options available for configuring your ESLint rules.

Next, you learned about the different standard ESLint configurations that you can utilize in your React applications. Airbnb is a popular standard you can use with ESLint, and you can customize it rule by rule to fit your team's particular style. You can also tell the ESLint initialization tool that you're planning on using React and have it install the appropriate packages for you.

Finally, you learned how ESLint is used by create-react-app. It uses a Webpack plugin to lint your code when the development server is run. You learned how create-react-app configures ESLint for this, and how you can use this configuration...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images