You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the redux devtools extension for my browser and to make my flows more efficient, and i need to figure out how can the dispatch textarea works with zustand.
After some debugging i want to execute an action manually with the devtools dispatcher. What i am doing is putting the action object in the textarea and click the dispatch button and zustand devtools middleware throws the next error...
[zustand devtools middleware] Could not parse the received json SyntaxError: Expected property name or '}' in JSON at position 4 (line 2 column 3)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am using the redux devtools extension for my browser and to make my flows more efficient, and i need to figure out how can the dispatch textarea works with zustand.
There is a simplification of my store:
After some debugging i want to execute an action manually with the devtools dispatcher. What i am doing is putting the action object in the textarea and click the dispatch button and zustand devtools middleware throws the next error...
[zustand devtools middleware] Could not parse the received json SyntaxError: Expected property name or '}' in JSON at position 4 (line 2 column 3)The JSON i am trying to dispatch:
{ "type": "addSelectedCandidate", "payload": { "candidate": { "id": 1, "name": "test" }, "scope": "candidates" } }StackBlitz example
Anyone could provide me some information about this?
Beta Was this translation helpful? Give feedback.
All reactions