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

first unsubscribe to params store stops updates with multiple subscribers #50

Closed
dominikg opened this issue Dec 12, 2023 · 2 comments
Closed

Comments

@dominikg
Copy link
Contributor

Describe the bug

As soon as a component that uses a parameters store unsubscribes from it, the connection to sveltekits page store is severed. This prevents updates from reaching other subscribers to the same store.

Possible Solutions:

StartStopNotifier or counting subscribers to know when it is safe to unsubscribe from page

Reproduction

https://www.sveltelab.dev/2z7v7xq7im6erv1

Logs

No response

@dominikg
Copy link
Contributor Author

happens here

@paoloricciuti
Copy link
Owner

This is fixed in the latest version @dominikg

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