npm install @rocicorp/[email protected]
(as compared to [email protected]
)
reflect.subscribe()
can now take the onData
function directly.createKVStore
constructor parameter was renamed to kvStore
and its default switched. We now default to memory-only (no local persistence) by default. This makes the onboarding experience easier as it removes potential complexity related to local persistence. If you would like to re-enable it, set kvStore
to idb
.logSinks
constructor parameter was removed. Reflect now automatically sends logs regarding its internal function to Rocicorp’s datadog service.
console.log
.logLevel
constructor parameter remains but it only controls the log level of Reflect’s internal logs sent to the console.