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
In Canvas mode it's not an issue because we are only rendering one story at a time. In Docs mode, we are rendering N stories on a page, and Ivy crashes.
To support Ivy in docs mode:
Create a wrapper component that's returned by Angular's prepareForInline
Each wrapper participates in a global queue. When a it's a component's turn to render, it renders, otherwise, it perform's a no-op
Making this up, so we will probably need @ThibaudAV 's guidance to make this work.
The text was updated successfully, but these errors were encountered:
shilman
changed the title
Addon-docs: Support Angular Ivy rendering in addon-docs
Addon-docs: Support Angular Ivy rendering of multiple stories on a page
May 24, 2021
We’re cleaning house! Storybook has changed a lot since this issue was created and we don’t know if it’s still valid. Please open a new issue referencing this one if this is still relevant in SB 7.x.
Currently, Storybook's Angular Ivy support (via https://github.com/storybookjs/addon-angular-ivy) requires that each story be fully rendered before a new story can be rendered.
In Canvas mode it's not an issue because we are only rendering one story at a time. In Docs mode, we are rendering N stories on a page, and Ivy crashes.
To support Ivy in docs mode:
prepareForInline
Making this up, so we will probably need @ThibaudAV 's guidance to make this work.
The text was updated successfully, but these errors were encountered: