marybeshaw / storybook-issue-15223

Reproducing a storybook issue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:JavaScript 70.7%Language:CSS 19.0%Language:HTML 10.3%