livestorejs/livestore

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

Open

#571 aperta il 19 ago 2025

Vedi su GitHub
 (2 commenti) (3 reazioni) (0 assegnatari)TypeScript (128 fork)github user discovery
help wantedintegration:react

Metriche repository

Star
 (3599 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor