Folders hierarchy fix (#109)

Was 'components/src/TodoHeader.tsx', based on previous and successive examples and that's incorrect
This commit is contained in:
Riccardo Erra
2019-03-10 02:06:23 +00:00
committed by Kenneth Chau
parent 674659989a
commit 74b103dcb8

View File

@@ -11,7 +11,7 @@ You can find the HTML for our application in `step1-05/TodoApp.html`.
## TodoHeader
We'll store all of our components inside a `components` folder under `src`. Let's create that now. We'll then start writing the `TodoHeader` in `components/src/TodoHeader.tsx`. The `tsx` file extension tells our editor that this file includes React code written in TypeScript.
We'll store all of our components inside a `components` folder under `src`. Let's create that now. We'll then start writing the `TodoHeader` in `src/components/TodoHeader.tsx`. The `tsx` file extension tells our editor that this file includes React code written in TypeScript.
> We'll talk about TypeScript soon, but for now, know that all valid JavaScript is valid TypeScript.