From 0c62c448d7f73bb5c8b2220ca4d9cb6009740410 Mon Sep 17 00:00:00 2001 From: atulll <39869656+underager@users.noreply.github.com> Date: Sat, 25 Dec 2021 17:01:05 +0530 Subject: [PATCH 1/2] Update tutorial.md referencing `main.jsx` or `index.js` depending on the bundler used. --- docs/getting-started/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started/tutorial.md b/docs/getting-started/tutorial.md index 8346e72326..19d9bfb958 100644 --- a/docs/getting-started/tutorial.md +++ b/docs/getting-started/tutorial.md @@ -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"; From 531f3841e3907996d059418e8f01660a691c7726 Mon Sep 17 00:00:00 2001 From: atulll <39869656+underager@users.noreply.github.com> Date: Sat, 25 Dec 2021 21:44:29 +0530 Subject: [PATCH 2/2] Update contributors.yml Adding underager to contributors.yml --- contributors.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/contributors.yml b/contributors.yml index aedeed1663..3b9969439d 100644 --- a/contributors.yml +++ b/contributors.yml @@ -22,3 +22,4 @@ - timdorr - turansky - vijaypushkin +- underager