Skip to content

Commit

Permalink
Update tutorial.md (#8531)
Browse files Browse the repository at this point in the history
* Update tutorial.md

referencing `main.jsx` or `index.js` depending on the bundler used.

* Update contributors.yml

Adding underager to contributors.yml
  • Loading branch information
underager committed Dec 26, 2021
1 parent 7e6d6e8 commit 1e584b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions contributors.yml
Expand Up @@ -22,3 +22,4 @@
- timdorr
- turansky
- vijaypushkin
- underager
2 changes: 1 addition & 1 deletion docs/getting-started/tutorial.md
Expand Up @@ -170,7 +170,7 @@ export default function Invoices() {
}
```

Finally, let's teach React Router how to render our app at different URLs by creating our first "Route Config" inside of `main.jsx`.
Finally, let's teach React Router how to render our app at different URLs by creating our first "Route Config" inside of `main.jsx` or `index.js`.

```tsx lines=[2,4-5,13-19] filename=src/main.jsx
import { render } from "react-dom";
Expand Down

0 comments on commit 1e584b9

Please sign in to comment.