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

@ngrx/router-store: Tranferring router state in an universal app fails due to circular references #150

Closed
tomazy opened this issue Jul 21, 2017 · 1 comment

Comments

@tomazy
Copy link

tomazy commented Jul 21, 2017

Do you guys have any suggestions how to transfer the router state from server to browser in an angular universal app? I was able to do it with @ngrx/[email protected], but in this version you keep RouterStateSnapshot in the state and this is not transferrable - JSON.stringify throws "TypeError: Converting circular structure to JSON".

@ngrx/[email protected]
@ngrx/[email protected]

node v6.10.3
npm v5.0.3
yarn v0.27.5

@brandonroberts
Copy link
Member

Related to #97

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