Code Monkey home page Code Monkey logo

Comments (2)

somewonderfulguy avatar somewonderfulguy commented on September 4, 2024

I can confirm that. Having the same issue.

Steps to reproduce:

  1. Clone https://github.com/chromaui/learnstorybook-code.git
  2. yarn
  3. yarn storybook
  4. open http://localhost:6006/?path=/docs/inboxscreen--docs
  5. see the bug

ER: first two screens should show task list and only Error story should show error state
AR: every single screen shows error

from learnstorybook-code.

jonniebigodes avatar jonniebigodes commented on September 4, 2024

@nachten, thanks for taking the time to reach out to us by opening up this issue. We appreciate it. 🙏 I can confirm it as well. Something needs to be fixed with how MSW and the AutoDocs feature operate together. Based on a quick search, it seems that it's related to this issue, meaning that the last handler provided in the story is the one that prevails, which looking at how it the story file is structured the error handler persists.

If you're both ok with it, could you reply in the issue I've mentioned so that the maintainers are aware of the situation and hopefully look into the issue and solve it with a future release and link this issue as a proof of concept of the behavior.

Hope both of you have a fantastic day.

Stay safe

from learnstorybook-code.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.