Skip to content

feat: first draft of @hocuspocus/provider-react package#1059

Open
janthurau wants to merge 3 commits intomainfrom
feat/provider-react
Open

feat: first draft of @hocuspocus/provider-react package#1059
janthurau wants to merge 3 commits intomainfrom
feat/provider-react

Conversation

@janthurau
Copy link
Contributor

@janthurau janthurau commented Feb 6, 2026

The idea of this package is to remove all issues around rerendering during development in React. Strict mode triggers hooks twice, which is confusing (the network tab shows two websockets, one is dead and another is connected), and can cause timing issues (the server doesnt support opening the same document name twice over the same websocket connection), so if a disconnect and connect happen really fast, the state may mix and connections break.

Status: Needs careful testing.

@janthurau janthurau force-pushed the feat/provider-react branch from f558b20 to 66de275 Compare February 6, 2026 12:07
@janthurau janthurau changed the title feat: first draft of @hocuspocus/provide-react package feat: first draft of @hocuspocus/provider-react package Feb 16, 2026
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