You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Documentation: Document missing methods for data module #7015
When working on publishing data module to npm, we noticed that some methods aren't documented in the README file:
setPersistenceStorage
withRehydration
loadAndPersist
We should fix it. In addition, we should add a note how to use them in node environment because by default they depend on window.localStorage. Example of how to setup it with store npm module:
Activity
aduth commentedon Sep 10, 2018
Closing since these functions have since been deprecated and removed.
Alternative / equivalent
persistencemodule is documented here:https://github.com/WordPress/gutenberg/tree/master/packages/data/src/plugins/persistence