Built-in Modules Demo

This demo shows how to use the built-in KV Storage module in your application code, and bundle it with Rollup so it's served as a progressive enhancement and works in all browsers (including Internet Explorer). Browsers that don't support KV Storage natively will use the KV Storage polyfill.

To see how the demo was built, check out the source code on Glitch 🚀


To use the demo, select any of the preference options below and click the "save changes" button. If you refresh, you'll see your changes persist across page loads. If you do not save your changes, refreshing will restore them to the last saved state.

User preferences








Last saved:

Created by @philwalton. Built with Glitch.