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

Panic when calling use_geolocation in an SSR app #66

Closed
szilardhuber opened this issue Jan 15, 2024 · 0 comments
Closed

Panic when calling use_geolocation in an SSR app #66

szilardhuber opened this issue Jan 15, 2024 · 0 comments

Comments

@szilardhuber
Copy link

If I get the SSR example from the repo and change the app.rs to the following content it works (and nicely updates geolocation coordinates every second) But if I move line 53 out of the create_effect, I get a panic at startup.

https://gist.github.com/szilardhuber/bed0a175a542ab6887a021316e433037

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

1 participant