npm install '@rocicorp/[email protected]'
(as compared to [email protected]
)
npx reflect tail
works much more reliably now. For now you must specify the individual room you want to tail, ie npx reflect tail --room="room1"
useSubscribe
can now be imported from @rocicorp/reflect/react
, thereās no need to separately depend on replicache-react
.reflect.subscribe
can now take a function instead of {onData: myFunction}
enableAnalytics
option to the Reflect
constructor to stop analytics from being sent to reflect-server entirely.socketOrigin
constructor parameter with server
. Also change input to an http
host rather than ws
. The socketOrigin
remains but it @deprecated
.reflect status
command to CLI.tx.put
with tx.set
. put
remains but is @deprecated
.@rocicorp/reflect
reduced from ~1m to ~15s.npx create
no longer prints deprecation warnings from npmAn event handler returned a promise that will be ignored
warnings printed by server.Reflect
instance was closed. These were harmless, but confusing.BroadcastChannel
in the case where BroadcastChannel
is unavailable. Reflect still works, but sync across tabs no longer works while offline. This is an edge case as all modern browsers support BroadcastChannel
.