jk-gan / flipper-plugin-redux-debugger

Flipper plugin for Redux in React Native
MIT License
117 stars 20 forks source link

Dispatching a string payload from the redux debugger #31

Closed hannojg closed 3 years ago

hannojg commented 3 years ago

Hey,

I believe that there is a bug when you try to dispatch an action with a string payload button. Looks like this:

Screenshot 2020-12-19 at 22 48 10

Otherwise, great tool, thank you for that! It's running for many of our devs the whole day during development :blush:

hannojg commented 3 years ago

Okay, I just mentioned that it should work without setting the " double-quotes. However, this causes an exception to happen as a string can't be parsed with JSON.parse. https://github.com/jk-gan/flipper-plugin-redux-debugger/pull/32 this should fix it

plwai commented 3 years ago

Good to hear that the tool helps during your development. Also thanks for the fix. I will check it and publish it as soon as possible.

plwai commented 3 years ago

Thanks for the fixes. The issue is fixed and published.