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

add react router and configure basic page routing #774

Merged
merged 5 commits into from
Jun 25, 2018

Conversation

kevinhughes27
Copy link
Owner

@kevinhughes27 kevinhughes27 commented Jun 23, 2018

part of #750

This adds the react-router which lets the app have different pages that load different react components. Its based on the URL and the back button works even though it is all done client side. Next step is to connect to the API using relay and load the actual data for each of the pages.

I made a Routes component to hold all the routes since there will be a lot. For other apps with only a few routes I've just had them in the App component.

cc @patrickkenzie @JRSpencer

@kevinhughes27 kevinhughes27 merged commit 7880249 into master Jun 25, 2018
@kevinhughes27 kevinhughes27 deleted the add-react-router branch June 25, 2018 14:30
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.

1 participant