diff --git a/guide/english/react/your-first-app/index.md b/guide/english/react/your-first-app/index.md index d82d7ea274..3a75bf1d89 100644 --- a/guide/english/react/your-first-app/index.md +++ b/guide/english/react/your-first-app/index.md @@ -29,7 +29,7 @@ npm start Start up your editor or IDE of choice and edit the `App.js` file in the `src` folder. When created with the `react-create-app` tool, there will already be some code in this file. The code will consist of these parts: -#### imports +#### Imports ```JavaScript import React, { Component } from 'react'; import logo from './logo.svg'; @@ -41,7 +41,7 @@ This is used by [webpack](https://webpack.js.org/) to import all required module 2) `logo`, which allows us to use `logo.svg` in this file. 3) `./App.css`, which imports the stylesheet for this file. -#### classes/components +#### Classes/Components ```JavaScript class App extends Component { render() { @@ -65,7 +65,7 @@ There is already 1 component created, the `App` component. If you used the `crea We will look at components more detailed in next chapters. -#### exports +#### Exports When creating a class in react, you should export them after declaration, which allows you to use the component in another file by using the `import` keyword. You can use `default` after the `export` keyword to tell React that this is the main class of this file. ```JavaScript