Recap

In this lesson, we the chapter focused on keeping code organized, testing, as well as useful tools for debugging a React application.

The chapter focused on keeping code organized in a scaling application. We covered the best practices for structuring your folders and files. We also covered testing, an important practice to keep source code robust, as well as useful tools for debugging a React application. This chapter stepped back from the practical application for a moment, these topics could be covered in detail before moving on.

You have learned how to organize and test React code! Let’s recap the last chapter:

  • React
    • PropTypes let you define type checks for components
    • Jest allows you to write snapshot tests for your components
    • Enzyme allows you to write unit tests for your components
    • React Developer Tools is a helpful debugging tool
  • ES6
    • import and export statements help you to organize your code
  • General
    • code organization allows you to scale your application with best practices

You can find the source code in the official repository.

Get hands-on with 1200+ tech skills courses.