livestorejs/livestore

Allow LiveStoreProvider to update connection instead of re-rendering all children

Open

#571 opened on Aug 19, 2025

View on GitHub
 (2 comments) (3 reactions) (0 assignees)TypeScript (128 forks)github user discovery
help wantedintegration:react

Repository metrics

Stars
 (3,599 stars)
PR merge metrics
 (PR metrics pending)

Description

In our app, when the auth token that we pass to the sync payload refreshes, it causes everything to rerender since the LiveStore Provider is re-rendering. I'd love to have a way to update the syncPayload so that it can reconnect without forcing a re-render of its children.

xref: https://github.com/runtimed/anode/pull/424

Contributor guide