Closed LunatiqueCoder closed 3 months ago
Thank you for this. I have merged in just the changes to the README.
I can't merge in your changes from redux
to @reduxjs/toolkit
as this would break support for anyone using Redux without toolkit. I don't want using this dev tool to dictate how people have their Redux store setup, if possible. I'll look into alternatives to fix the type error that was mentioned.
Description:
Hello! Those suggestions made it possible for us to use this plugin with Redux Toolkit.
Should fix #4 and #8 Did not test with Redux Saga though
Changes:
Besides using the
StoreEnhancer
type exported byredux-toolkit
instead ofredux
, the following setup made it possible for us with no errors,ts-ignore
, or other hacks:Using Redux Toolkit
Let's suppose your store looks something like this:
After adding the plugin it should look something like this: