vs [email protected]
Install
npm add [email protected]
🎁 Features
- Add
clientMaxAgeMs
to ReplicacheOptions
. By setting this you can change how long to keep a client alive before it is considered a candidate for removal. A client is never removed if it has pending mutations. The reason for this option is to allow clients to come back from a frozen state and still have its backing store in place. A client can become frozen if the tab is in the background for an extensive time or if the user navigates away from the page and the page is put in the bfcache.
- If a client comes back and the backing store got cleaned up the
onClientStateNotFound
callback is called, which by default will reload the web page.
- Change the default
clientMaxAgeMs
from 7 days to 24 hours.
- Changed the length of some GUIDs used. The clientID and clientGroupID are now shorter. Also, the GUIDs used for the B+Tree stored in indexed db got shorter but these are never exposed in any way.
🧰 Fixes
⚠️ Breaking Changes
⚡️ Performance
📄 Documentation
👨🏻🏫 Upgrading