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

Move routes to the dedicated file #71

Closed
wants to merge 1 commit into from

Conversation

synowa
Copy link
Collaborator

@synowa synowa commented Mar 4, 2021

closes #70

Copy link
Collaborator

@vieraboschkova vieraboschkova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you have a look at these links:
https://randycoulman.com/blog/2016/02/02/composing-routes-in-react-router/
https://stackoverflow.com/a/62539211/13548154
And give me some of your thoughts about it?
Routes are a separete concern, they do not belong in components, if they are to be separated, they should behave only as routes.

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

Successfully merging this pull request may close these issues.

FRONTEND | Create a file for routes
2 participants