-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how do i read specifically items from session storage #286
Comments
You build your store Example in ES6 // session store with watch
import engine from 'store/src/store-engine';
import sessionStorage from 'store/storages/sessionStorage';
import cookieStorage from 'store/storages/cookieStorage';
import defaultPlugin from 'store/plugins/defaults';
import expiredPlugin from 'store/plugins/expire';
import eventsPlugin from 'store/plugins/events';
const storages = [sessionStorage, cookieStorage];
const plugins = [defaultPlugin, expiredPlugin, eventsPlugin];
const sessionStore = engine.createStore(storages, plugins);
export default sessionStore; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it appears that there is no way to specify which store I want? the lib always grabs from ls. I need from SS
The text was updated successfully, but these errors were encountered: