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'm using this addon for my react-based storybook setup. It works for the initial load but changing to a different mock doesn't seem to update the props of my story.
Am I just misunderstanding what this addon does?
Update: I figured it out. Mocks is an array in case you're using multiple queries.
Is there a way to change the results in storybook? I want a loading toggle, an error toggle... Different types of responses. Can I just swap out the mock in the array?
The text was updated successfully, but these errors were encountered:
I'm using this addon for my react-based storybook setup. It works for the initial load but changing to a different mock doesn't seem to update the props of my story.
Am I just misunderstanding what this addon does?
Update: I figured it out. Mocks is an array in case you're using multiple queries.
Is there a way to change the results in storybook? I want a loading toggle, an error toggle... Different types of responses. Can I just swap out the mock in the array?
The text was updated successfully, but these errors were encountered: