Skip to content

currentPath should has a init value #59

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

Closed
xiachaoxulu opened this issue May 25, 2017 · 2 comments
Closed

currentPath should has a init value #59

xiachaoxulu opened this issue May 25, 2017 · 2 comments

Comments

@xiachaoxulu
Copy link

currentPath is undefined

server Rending ...
store.replaceState(window.INITIAL_STATE)

since currentPath is undefined , so router.push(route) must be excute. the history must has two record

@xiachaoxulu
Copy link
Author

see already has a pr. i think more, when currentPath is undefined ,router should replace 。
because currentPath init value should be from server

@yyx990803
Copy link
Member

Closed via #52

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

No branches or pull requests

2 participants