Skip to content

Commit

Permalink
Update docs/workflows/build-pages-with-storybook.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed Jul 14, 2021
1 parent 0f5569e commit d787f58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/workflows/build-pages-with-storybook.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ If you are using a provider that supplies data via the context, you can wrap you

### Mocking API Services

Connected applications such as Twitter, Instagram, amongst others, are everywhere, consuming data either from REST or GraphQL endpoints. If you're working in an application that relies on either of these data providers, you can add Mock Service Worker (MSW) via the [Storybook's MSW addon](https://storybook.js.org/addons/msw-storybook-addon) to mock data alongside your app and stories.
Connected applications such as Twitter, Instagram, amongst others, are everywhere, consuming data either from REST or GraphQL endpoints. If you're working in an application that relies on either of these data providers, you can add Mock Service Worker (MSW) via [Storybook's MSW addon](https://storybook.js.org/addons/msw-storybook-addon) to mock data alongside your app and stories.

[Mock Service Worker](https://mswjs.io/) is an API mocking library. It relies on service workers to capture network requests and provides mocked data in response. The MSW addon adds this functionality into Storybook, allowing you to mock API requests in your stories.

Expand Down Expand Up @@ -316,4 +316,4 @@ If you’ve set up `GlobalContainerContext`, you’ll need to set up a decorator
]}
/>

<!-- prettier-ignore-end -->
<!-- prettier-ignore-end -->

0 comments on commit d787f58

Please sign in to comment.