Issue with Angular and Storybook
See original GitHub issueDescribe the bug While updating the Intro to Storybook tutorial to reflect the changes introduced in Storybook 6.2 I came across a bit of a weird issue on how Storybook is displaying the stories incorrectly. Following the steps provided in the Composite Component chapter, starting Storybook me or any other reader should get the following Storybook state. But in reality, what I got was:
The Tasklist (default and with pinned tasks) should have rendered the stories correctly but instead, they’re showing that there’s nothing. Basically treating it as it was empty.
To Reproduce
- Clone this repo
- Install dependencies
- Run
npm run storybook
- In
.storybook/preview.js
comment outangularLegacyRendering: true,
- Start Storybook with `npm run start-storybook``
- Check the Default and With Pinned story under TaskList.
@ThibaudAV could you take a look please and let me know what might be the issue here. As a safeguard, I adjusted the tutorial to mention to the readers that they should add the angularLegacyRendering: true
to their preview.js
in order to get the correct stories showing.
Thanks in advance
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top GitHub Comments
@ThibaudAV if you have time today let’s meet and talk this through and fix it.
can we close this issue ? 😃