Replies: 1 comment
-
Just like with tests, I would recommend just using your normal Redux store and mocking an api with https://github.com/mswjs/msw |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am implementing RTKQuery in one of my projects. We are planning to use Storybook to document our UI components. While we are trying to keep our components as independent as possible, there are some scenarios where we need to make RTK Query calls (mostly Fetch queries)...
How can we make this work with Storybook? I see articles around having
slices
with storybook but notcreateAPI
mocks.Any help will be great.
Beta Was this translation helpful? Give feedback.
All reactions