Open manojsatya opened 4 years ago
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!
I think your issue is because of adding a custom decorators
to preview.js
.
I created an issue on the topic: https://github.com/storybookjs/storybook/issues/14475
There's a possible fix here: https://github.com/storybookjs/storybook/pull/13049
Describe the bug I was trying mock the fetch using useEffect within a story but the hooks renders infinitely
To Reproduce To help understand the problem I have pasted sample snippets to reproduce this problem
Expected behavior Should not render after initial render. In the browser (tested in Chrome and safari), same component doesn't re-render.
Screenshots
Code snippets
System:
Additional context Not seeing this problem in the browser