-
Notifications
You must be signed in to change notification settings - Fork 1k
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
DevTools' persist state #8
Comments
What about custom serialize/deserialize functions? BTW, this chrome extension is the best thing ever!! Really awesome! |
Thanks, @ohana54, for your kind words. Could you please provide more information about your user case, where you need custom serialize/deserialize functions? I guess your custom function should be added as a middleware or as a store enhancement. You may add more store enhancements as usually in your const finalCreateStore = compose(
applyMiddleware(thunk),
...
window.devToolsExtension || (f => f)
)(createStore); If you want to add some store enhancements directly to the extension (for example not to repeat for every application), you may add them in I made it really easy to customize, everything is in Build it with PRs are welcome. |
Implemented DevTools' persistState in f99e203.
Not in WebStore so far. To test it, clone the repository, run
npm i & npm run build:extension
and load the extension's folder./build/extension
.As usually, add
?debug_session=<session_name>
to the url.It would be better to create sessions directly from the dev panel, and also to select from the existent sessions.
The text was updated successfully, but these errors were encountered: