Skip to content

Custom storage

Choose a tag to compare

@fedekau fedekau released this 23 Jul 11:27
· 728 commits to master since this release

This release enables you to use any custom storage you want, by default localStorage will be used. You can use sessionStorage or others, you only need to provide an object with a getItem and setItem that have the same API/behavior of localStorage.

Allow to use custom storage (#27 by @fedekau)
Other minor updates

This is a backwards compatible release because we keep the default storage with no change required.

Enjoy 🎉