Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Tutorial template root element id doesn't match tutorial docs #8581

Closed
ChristopherChudzicki opened this issue Jan 14, 2022 · 0 comments · Fixed by #8582
Closed

[Bug]: Tutorial template root element id doesn't match tutorial docs #8581

ChristopherChudzicki opened this issue Jan 14, 2022 · 0 comments · Fixed by #8582
Labels

Comments

@ChristopherChudzicki
Copy link
Contributor

What version of React Router are you using?

6

Steps to Reproduce

  1. Using the tutorial at https://reactrouter.com/docs/en/v6/getting-started/tutorial
  2. Use StackBlitz (or local) to code along

Expected Behavior

Copy pasting the tutorial code into your code editor (StackBlitz or local) should work

Actual Behavior

Copy pasting the code from tutorial docs breaks your app.

Reason: Tutorial docs use "root" as root element id, but tutorial code template uses "root".

@ChristopherChudzicki ChristopherChudzicki changed the title [Bug]: [Bug]: Tutorial template root element id doesn't match tutorial docs Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant