O'Reilly logo

React 16 Tooling by Adam Boduch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Source code

The src directory created by create-react-app is the most important part of your application. This is where any React components you create will live. Out of the box, this directory has some source files in it to get you on your way, though you'll obviously replace the majority of them as you move forward. Here's what you'll find by default:

  • App.css: This defines some simple CSS to style the App component
  • App.js: This is the default component that renders the application HTML
  • App.test.js: This is a basic test for the App component
  • index.css: This defines application-wide styles
  • index.js: This is the entry point into your application—renders the App component
  • logo.svg: An animated React logo that's rendered by the App component ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required