Skip to content
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

Show Redux Store Differences Triggered by Actions #1531

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

camilossantos2809
Copy link

Please verify the following:

  • yarn build-and-test:local passes
  • I have added tests for any new features, if relevant
  • README.md (or relevant documentation) has been updated with your changes

Describe your PR

This change allows developers to see what has been modified in the store after an action is dispatched.

It is particularly useful when an action updates multiple modules. When an action is called in Redux, the current store is compared with the new store, and the differences are sent to Reactotron to be displayed in the timeline.

To determine these differences, the microdiff package was used and added as a dependency to reactotron-redux.

I am not entirely familiar with your build process, but I assume that the microdiff package will be installed automatically via npm/yarn when developers upgrade the Reactotron plugin in their projects.

I'm open to feedback and suggestions for further improvements to this implementation. Please feel free to reach out if you have any questions or if there are areas you'd like me to refine.

closes #496

Screenshot 2025-01-20 at 14 12 29

@jamonholmgren
Copy link
Member

This looks absolutely amazing @camilossantos2809!

I'm embarking on a quest to simplify Reactotron's code base, but I'll make sure to get your PR reviewed and evaluated for inclusion before I get too far.

@camilossantos2809
Copy link
Author

This looks absolutely amazing @camilossantos2809!

I'm embarking on a quest to simplify Reactotron's code base, but I'll make sure to get your PR reviewed and evaluated for inclusion before I get too far.

Thanks so much, @jamonholmgren! I really appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support delta display for Redux store
2 participants