New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with Angular and Storybook #14761
Comments
yes i'll have a look ;) |
Really appreciate it 🙏🏼! Let me know of your findings. |
it's the same problem as here with workaround #14732 (comment) I do not know how to fix in any case it is a breaking changes 🤣 You have this private props
If you make the same test by changing the order of the props you will have the same problem
you will have the same problem whatever the value of so between legacy and non-legacy renderer does not process props in the same order which is comical ; is that the new renderer uses the Input/Output like a real application. so no more problem of property order there are several problems already discussed in other issus with @shilman IMHO the main ones are :
Sources ((so much magic in these lines of code )): storybook/app/angular/src/client/preview/angular/components/app.component.ts Lines 89 to 91 in a8770a4
new: storybook/app/angular/src/client/preview/angular-beta/StorybookWrapperComponent.ts Line 138 in d72337e
storybook/app/angular/src/client/preview/angular-beta/StorybookWrapperComponent.ts Line 94 in d72337e
|
@ThibaudAV if you have time today let's meet and talk this through and fix it. |
@ThibaudAV thank you very much for the help on this and for pointing me in the right direction 🙏🏼. I was able to address the issue with the issue you've mentioned. And just merged an update for the tutorial with this. Really appreciate it. |
can we close this issue ? :) |
Describe 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:
storybook-angular-issue-opt.mp4
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
npm run storybook
.storybook/preview.js
comment outangularLegacyRendering: true,
@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 theirpreview.js
in order to get the correct stories showing.Thanks in advance
The text was updated successfully, but these errors were encountered: