---
title: "Discussion on \"Storybook - mocking API calls\" | Hashnode"
description: "Discussion on \"Storybook - mocking API calls\". Sometimes, our components might call API endpoints, which could add unnecessary load to our Storybook side of things.\nIn those cases, we might want to intercept those calls and mock them instead of returning them.\nAnd luckily for us, Storybook has a ..."
url: "https://hashnode.com/posts/storybook-mocking-api-calls/6381b6f522a436df4075e8a6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Storybook - mocking API calls](https://h.daily-dev-tips.com/storybook-mocking-api-calls?utm_source=hashnode&utm_medium=feed)

Sometimes, our components might call API endpoints, which could add unnecessary load to our Storybook side of things. In those cases, we might want to intercept those calls and mock them instead of returning them. And luckily for us, Storybook has a ...

Nov 26, 2022 · 3 min read · h.daily-dev-tips.com  
Read the article

-   [#storybook](https://hashnode.com/tag/storybook)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#testing](https://hashnode.com/tag/testing)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Chris Bongers](https://hashnode.com/@dailydevtips)

@dailydevtips · Cape Town, SA

  
[View profile](https://hashnode.com/@dailydevtips)

Looking to get into development? As a full-stack developer I guide you on this journey and give you bite sized tips every single day 👊

I'm a full-stack developer from South Africa 🇿🇦. I love writing about JavaScript, HTML and CSS.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
