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

fix: use react-router match route method #36

Merged
merged 2 commits into from
May 29, 2020
Merged

Conversation

crash7
Copy link
Contributor

@crash7 crash7 commented May 29, 2020

This solves a bug where the route matching couldn't find the correct route when the
route was using dynamic parameters (ie: /:something/blue).

@crash7 crash7 requested a review from lfantone May 29, 2020 16:50
@crash7 crash7 changed the base branch from develop to master May 29, 2020 19:19
@crash7 crash7 requested review from a team, gaston-flores and peibol85 and removed request for a team May 29, 2020 19:22
@crash7 crash7 closed this May 29, 2020
@crash7 crash7 reopened this May 29, 2020
This solves a bug where the route matching couldn't find the correct route when the
route was using dynamic parameters (ie: /:something/blue).
@github-actions
Copy link

Code coverage

Filename Statements Branches Functions Lines
packages/server/src/utils.js 100% 100% 100% 100%
packages/server/src/fetchInitialPropsFromRoute.js 100% 92.86% 100% 100%
packages/server/src/Error.component.jsx 100% 100% 100% 100%
packages/server/src/Document.component.jsx 93.75% 75% 83.33% 100%
packages/server/src/Before.component.jsx 42.86% 0% 43.75% 42.86%
packages/server/src/render.js 91.11% 85.71% 100% 90.7%

@crash7 crash7 merged commit 0d51166 into master May 29, 2020
@crash7 crash7 deleted the fix/route-matching branch May 29, 2020 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants