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

router.location is null on pageload #3

Closed
davekiss opened this issue Dec 16, 2016 · 2 comments
Closed

router.location is null on pageload #3

davekiss opened this issue Dec 16, 2016 · 2 comments
Assignees
Labels

Comments

@davekiss
Copy link

@supasate Thanks for your effort on this project, giving it a whirl to see how it goes.

I'm unsure if this is the intended behavior, but it seems that router.location is null in state until I actually navigate with a Link helper, at which point it populates with the expected data.

Is there a way to ensure this data is present on pageload from the initial route, or am I doing something wrong?

Cheers!

@supasate
Copy link
Owner

Thank you for reporting this issue. I will fix it.

@supasate
Copy link
Owner

@davekiss Already fixed in v1.0.0-alpha5! Let's try and let me know.

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

No branches or pull requests

2 participants