Skip to content

fix: purge persisted clients on page reload#2133

Merged
kettanaito merged 1 commit into
feat/wsfrom
fix/purge-clients-on-reload
Apr 15, 2024
Merged

fix: purge persisted clients on page reload#2133
kettanaito merged 1 commit into
feat/wsfrom
fix/purge-clients-on-reload

Conversation

@kettanaito

Copy link
Copy Markdown
Member

When the page reloads, purge the localStorage entry keeping the WebSocket clients because upon reload each client will have a different ID anyway.

@kettanaito kettanaito changed the base branch from main to feat/ws April 15, 2024 19:56
@kettanaito kettanaito merged commit 026f24f into feat/ws Apr 15, 2024
@kettanaito kettanaito deleted the fix/purge-clients-on-reload branch April 15, 2024 20:51
@kettanaito

Copy link
Copy Markdown
Member Author

Released: v2.6.0 🎉

This has been released in v2.6.0!

Make sure to always update to the latest version (npm i msw@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.

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

Successfully merging this pull request may close these issues.

1 participant