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

Separate Routes and Components #30

Open
ivan-unfolds opened this issue Oct 21, 2022 · 0 comments
Open

Separate Routes and Components #30

ivan-unfolds opened this issue Oct 21, 2022 · 0 comments

Comments

@ivan-unfolds
Copy link

First of all, great use of React Router to create routes!

I would recommend adding a different directory for your routes, ie src/routes where Home and Game would live.

This directory is where top level routes would live and then the src/components directory is where components that are used across multiple routes would live.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant