Closed CMCDragonkai closed 11 months ago
Hey, thank you for raising this issue. Currently looking for some options.
I only saw this error when I started using react-rxjs, seems to apply to state/hook related libraries? I'm not entirely sure why it would occur when I start using react-rxjs.
Yes, useStateObservable
(or the hook returned by bind
) uses React's useSyncExternalStore
, and this one emits this warning when it's not set up for SSR.
Nice!
Fixed on 0.10.7
When using react-rxjs inside a nextjs client component, I see this on the server sometimes:
There's a similar issue on zustand: https://github.com/pmndrs/zustand/issues/886.
I only saw this error when I started using
react-rxjs
, seems to apply to state/hook related libraries? I'm not entirely sure why it would occur when I start usingreact-rxjs
.