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

Match pathname before :name in routes #200

Merged
merged 1 commit into from
Oct 3, 2018
Merged

Conversation

bonjourmauko
Copy link
Member

Fixes #199

By matching pathname before :name in routes, we're sure it is exluded
from the :name match, hence not triggering the ParameterOrVariable
component rendering.

This is what was causing the loading div to be rendered in home page,
having as a side effect the style bug.

To test, follow #199 example.

Copy link
Contributor

@sandcha sandcha left a comment

Choose a reason for hiding this comment

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

🎉

By matching pathname before :name in routes, we're sure it is exluded
from the :name match, hence not triggering the ParameterOrVariable
component rendering.

This is what was causing the loading div to be rendered in home page,
having as a side effect the style bug.
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 this pull request may close these issues.

2 participants