-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
window.History() is not implemented. #41
Comments
The pull request which attempts to fix this is #35. I'll try to find time soon to look at it again. The reason it wasn't merged long ago is because it's still unclear what type to use for representing state. The PR currently uses |
@dominikh any idea when will this be implemented? I'm using dom lib but have to revert to |
any update on this? in browser |
After a bit more consideration I believe this is a bit more complex and I don't really understand what value type history.Get returns or history.Set expects . Ideally we should marshal/unmarshal the state before to send it to make sure it's encoded per our specifications but I'm not sure if syscall/js is happy with our encoded json e.g.
|
window.History() returns nil
There is a pull request, from half a year ago.
The text was updated successfully, but these errors were encountered: