expo / dev-plugins

Out-of-tree Expo devtools plugins for packages that haven't adopted the Expo devtools plugin system yet.
MIT License
154 stars 24 forks source link

Feature Request: Support for Redux Debugging #20

Closed eliasljubec closed 6 months ago

eliasljubec commented 9 months ago

Hello!

I'm reaching out to request an enhancement for debugging redux within expo.

Previously, with the JSI engine & the remote debugging capability, it was incredibly efficient debugging the redux store when using tools like react native redux-devtools.

Currently, with the shift to the hermes engine, debugging the redux store is limited to console logging, which is far from ideal due to the lack of support for more advanced debugging tools.

Having something similar to react-query-native-devtools that's compatible with hermes would be incredibly valuable and improve the debugging process for many of us.

Thank you for considering this enhancement.

jthoward64 commented 9 months ago

It doesn't look like a dev plugin would be that difficult, but in the meantime maybe look at https://github.com/reduxjs/redux-devtools/tree/main/packages/redux-devtools-remote

Kudo commented 9 months ago

hi there! creating a devtool plugin should be easy and documented at https://docs.expo.dev/debugging/create-devtools-plugins/. you could also try to create one before we get a bandwidth to create the redux plugin.

smnatale commented 9 months ago

This would be perfect

dannyBies commented 8 months ago

I've created a basic version -> https://github.com/expo/dev-plugins/pull/28, it's just a read-only view but it's enough for my use-case.

matt-oakes commented 6 months ago

I have worked on a full version of this and released it as redux-devtools-expo-dev-plugin. It is based on the full Redux DevTools (from the Chrome extension) so you have all of the same features and UI as that.

I was going to submit it here, but a note was added to the README that they're no longer accepting pull requests, so I have published it as it's own package.

The package is published now. I've tested it on one of my projects, but it would be good to get some feedback on it. Feel free to open PRs and issues on the repo.