Comments (2)
I can confirm that. Having the same issue.
Steps to reproduce:
- Clone https://github.com/chromaui/learnstorybook-code.git
yarn
yarn storybook
- open http://localhost:6006/?path=/docs/inboxscreen--docs
- 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.
@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)
- Inaccuracies in tutorial HOT 3
- Inconsistency between github repo learnstorybook-code and Create addons chapter of storybook tutorial HOT 6
- Add assets error HOT 3
- Angular: Use service instead of ngxs to share state HOT 14
- document which Node.js and Yarn versions should be used HOT 1
- add prettier to devDependencies
- Add assets error in React tutorial HOT 3
- Angular tests fail HOT 1
- [Security] Potential Secret Leak HOT 2
- Missing components for React Native tutorial HOT 3
- How to add unit testing to this vuejs project? HOT 2
- Problems used in typescript HOT 3
- icon problem HOT 1
- app.component.spec fails from Angular 'Screens' chapter HOT 1
- Missing diff on pure-task-list.component HOT 1
- Interactions in Vue example not working correctly HOT 1
- Asterisk (*) issue in index.css
- which is the react native branch? HOT 1
- yarn test, yarn start Not Work HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from learnstorybook-code.