You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seeing as knobs have been deprecated for a while, it seems reasonable to remove support knobs for them in a major release and remove the dependence on a forceReRender
The text was updated successfully, but these errors were encountered:
micahgodbolt
changed the title
forceReRender was removed in storyStoreV7
forceReRender was removed in storyStoreV7, breaking cypress-storybook
Mar 11, 2022
Glad i'm not the only one facing this @yunic-nl Where did you add this? My test fails first thing when loading the story in the one and only beforeEach beforeEach(() => cy.visitStorybook().loadStory('AsyncValidation', 'Primary'));
Storybook 6.4 has the ability to turn on a flag and enable storyStorev7
https://storybook.js.org/docs/react/configure/overview#feature-flags
storyStorev7 removed the
forceReRender
api https://github.com/storybookjs/storybook/blob/next/lib/core-client/src/preview/start.ts#L45cypress-storybook relies on forceReRender to be called anytime knobs change
https://github.com/NicholasBoll/cypress-storybook/blob/master/react.js#L18
Seeing as knobs have been deprecated for a while, it seems reasonable to remove support knobs for them in a major release and remove the dependence on a forceReRender
https://storybook.js.org/addons/@storybook/addon-knobs
The text was updated successfully, but these errors were encountered: