What You Learned

You’ve improved loading times for your application by creating an optimized build and converting JSX before deploying, and you relied on npm to isolate your project dependencies. You configured a faster build for development, which preserves the debug information. The build step allowed you to organize your code with modules without slowing down your application excessively.

In a larger code base, it’s important that you can test your components so that you don’t need to verify the entire application by hand every time you make a change. In the next chapter, we’ll extend the setup we created to add tests to our project and learn testing techniques for React components.

Get React for Real now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.