expo / dev-plugins

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

feat: add basic Redux dev plugin #28

Closed dannyBies closed 6 months ago

dannyBies commented 7 months ago

I'd like to be able to view my redux store using a dev-plugin. I've created a basic version that will show the latest values in the store. Ideally this would be solved in the middleware layer so we have more access to useful information as with the current approach you can only get the current store value.

Unfortunately I don't have enough time to fully integrate Redux with a dev-plugin but I'm hoping this PR can be a V0.1 and someone else can improve upon this foundation.

https://github.com/expo/dev-plugins/assets/3967506/1a3ce152-c671-4aff-94c6-22103cadee43

benjaminkomen commented 7 months ago

Maybe you can remove the changes to the build directories of the other dev-plugins from this PR, to keep it more focused?

dannyBies commented 7 months ago

Thanks! I've updated the PR to remove the build artifacts.

benjaminkomen commented 6 months ago

Can we merge this PR?

c2tarun commented 6 months ago

Can we please merge this PR?

Kudo commented 6 months ago

@dannyBies sorry for long waiting. the plugin is published in @dev-plugin/redux. i was struggling to find bandwidth to support broader plugins and then realized that be honest it is to difficult for me to review all prs and publish fixes in a scale way. i think a better way is to host new plugins in individual's npm accounts. i'm turning this repository as a gallery for people to promote new plugins as described in the README.

at this moment, i'm happy to help the @dev-plugins/redux transition when you get a chance to create a plugin in your account. sorry for this inconvenience and thanks again for your awesome work.