[angular]: forceReRender does nothing
See original GitHub issueDescribe the bug
forceReRender method doen’t rerender story for angular applications
What I’m trying to achieve: destroy and init root angular component or application in general, but forceRerender doesn’t do that.
To Reproduce Can be easily reproduced with clean project like
npx ng new app;
cd app;
npx sb init;
System Environment Info:
System: OS: macOS 10.15.7 CPU: (16) x64 Intel® Core™ i9-9880H CPU @ 2.30GHz Binaries: Node: 12.21.0 - ~/.nvm/versions/node/v12.21.0/bin/node npm: 6.14.11 - ~/.nvm/versions/node/v12.21.0/bin/npm Browsers: Chrome: 90.0.4430.93 Firefox: 86.0.1 Safari: 13.1.3 npmPackages: @storybook/addon-actions: 6.2.8 => 6.2.8 @storybook/addon-essentials: 6.2.8 => 6.2.8 @storybook/addon-links: 6.2.8 => 6.2.8 @storybook/angular: 6.2.8 => 6.2.8 @storybook/theming: 6.2.8 => 6.2.8
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)

Top Related StackOverflow Question
I understand the request I have already discussed with @shilman
I wanted to add a story flag only for angular to disable the optimization on some story. But it seems better to make a generic solution for all frameworks
I also thought of adding a boolean in the
forceReRender()method to change the value of theforceRendersent to the story. but 🤷♂️Hey @shilman @ThibaudAV, any news on this?