Introduction
To learn more about local, session, or memory storage, see wix-storage-frontend
.
Get hands-on experience with the Storage API on our Hello Storage example page.
To use the Frontend Storage API, import the needed storage type(s) from the
wix-storage-frontend
module:
javascript | Copy Codeimport {local, session, memory} from 'wix-storage-frontend';// Or one of:import {local} from 'wix-storage-frontend';import {session} from 'wix-storage-frontend';import {memory} from 'wix-storage-frontend';
Was this helpful?