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.history.previousLocation undefined at ensureConfigured() resolution. #788

Open
MarkoIvanetic opened this issue Jun 2, 2017 · 1 comment

Comments

@MarkoIvanetic
Copy link

I'm submitting a bug report

Library Version:
1.0.8

Operating System:
Windows 10

Node Version:
6.10.2

NPM Version:
3.10.10

JSPM

Browser:
Chrome 58.0.3029.110 (64-bit)

Language:
JavaScript

Current behavior:
router.history.previousLocation is undefined at time ensureConfigured() is resolved.

Expected/desired behavior:
Since I'm getting my routes via http I need to ensure refresh is working properly. I have one fallback route which is used while I get my routes and build the router. I expected to use ensureConfigured()
to navigate to previous location if it existed in case of refresh.

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

No branches or pull requests

3 participants
@EisenbergEffect @MarkoIvanetic and others