storybook-addon-mock
v5.0.0
Published
A storybook addon to mock fetch/XHR request
Downloads
702,887
Maintainers
Readme
This addon allows you to mock fetch or XMLHttprequest requests in storybook. If your component depends on backend requests, and your backend requests are not ready yet to feed your component, this addon provides mock response to build your component.
Purpose
There are few packages those help the developers to mock the backend requests while building components. But those packages aren't integrated properly in storybook and also there's no scope to play with those requests in the storybook. Mostly, there's no playground to modify the response and see the changes in the storybook.
Highlights
storybook-addon-mock
provides the following features.
Documentation
Older(2.*) version documentation
License
This project is licensed under the MIT License - see the LICENSE file in the source code for details.