Skip to content

docs: add an example for shared HTTP and socket state #528

Open

Description

@electrohyun

Location

docs/shared-worker.md and the examples

Problem

While using smocket in a frontend, I needed mocked HTTP requests and socket events to share application state. A room created through HTTP was missing from another tab's room list.

Suggested wording

Add a small MSW and SharedWorker example where an HTTP request creates a room and clients join it through sockets, using the same application store.

Activity

  1. added
    documentation
    on Oct 1, 2026
  2. self-assigned this
    on Oct 1, 2026
  3. moved this from Backlog to Ready in smocketon Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentation

Type

No type

Projects

  • Status
    Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions