Skip to content

marybeshaw/storybook-issue-15223

Repository files navigation

Create React App (Javascript)

This is project generated to serve as a reproduction starter for Storybook.

Issue: preview > decorators causes: "Rendered more hooks than during the previous render." #15223

The problem happens when a set of timers exist with components with hooks as decorators, so I created a simpler situation that my team has run into. All of the code to reproduce is in .storybook/preview.js.

View it in Stackblitz (this link is wrong! Mary doesn't know how to fix it - the preview.js file has to change)

Testing instructions

Install dependencies:

  yarn

Run Storybook:

  yarn storybook

About

Reproducing a storybook issue

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published