Toolbar decorator remounts component when dismiss
See original GitHub issueDescribe the bug Story gets unmounted/remounted even when dismissing the pick of a choice in the toolbar addon
To Reproduce
- Create a new storybook instance
- Add the code related to language selection as provided in the docs
- Add a console.log in your component or story
System
Environment Info:
System:
OS: macOS 11.4
CPU: (8) x64 Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz
Binaries:
Node: 16.4.0 - ~/.nvm/versions/node/v16.4.0/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 7.18.1 - ~/.nvm/versions/node/v16.4.0/bin/npm
Browsers:
Chrome: 91.0.4472.114
Firefox: 88.0.1
Safari: 14.1.1
Additional context Probably related to #15416
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Decorator unmounted when switching stories #15416 - GitHub
We're looking to create a decorator which will hold a stateful object (our ... Toolbar decorator remounts component when dismiss #15429.
Read more >React unmounts and remounts layout components using react ...
Can we see your layout component? Are you sure it unmounts/remounts or re-renders? If component unmounts - there should be some kind of ......
Read more >Kendo Grid column unmounts/mounts child component on re ...
The issue is that any state change in the parent causes that child in the grid column to unmount re-mount. Try opening the...
Read more >Remounting a component ? : r/reactjs - Reddit
Hello, I'm working on an app that uses react and react-router-v4. Is there a way to completely remount a component (which is called...
Read more >Storybook on Twitter: "7.0 design is now in alpha! Small ...
Layout edge-to-edge Toolbar reorganized ✍️ 200 redrawn icons ... Toolbar for debugging CSS & alignment Remount selected story Zoom ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@IgorSzyporyn can you please take a quick look at this one? 🙏
@y-nk
I have written you on discord also