matt-oakes / redux-devtools-expo-dev-plugin

The full Redux DevTools for Expo using a dev plugin
MIT License
51 stars 5 forks source link

Any ideas on how to use it with Zustand? #11

Closed rzfzr closed 2 months ago

rzfzr commented 2 months ago

I can see that many redux dev tools work out of the box with zustand, however, I can't figure out how to do the initial setup for this one, as I am used to using middlewares but not enhancers. Any ideas? Thanks

matt-oakes commented 2 months ago

I don't have experience with Zustand so I can't say for sure but unfortunatly I don't beleive that it would be possible to use as it does not have an enhancer system. It does seem to have a devTools integration itself though so maybe it's possible. You'll likely need to use part of that and hook it up to the Expo devtools client plugin instance as I've done here for Redux.

It's not something I'm likely to support in this repo, but feel free to use it as a base for your own Expo devtools plugin.

rzfzr commented 2 months ago

It does have devTools integration, but it seems not to be working with hermes for now. Thanks, I'll take a look into it.