-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
fix for re-render issue #126
Conversation
This worked for me. I'm no longer experiencing re-renders caused bu actions.
// This could leads to issues like below: | ||
// https://github.com/kadirahq/react-storybook/issues/81 | ||
ReactDOM.unmountComponentAtNode(rootEl); | ||
if (selectedKind !== previousKind || previousStory !== selectedStory) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a comment on why we do this and add the link to the related issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment added
Thanks. |
Released with |
* fix for re-render issue This worked for me. I'm no longer experiencing re-renders caused bu actions. * changed const to let * added comment and reference to issue * fixed typo * code style
Updated react-native in peerDependencies
View your CI Pipeline Execution ↗ for commit f1510b4.
☁️ Nx Cloud last updated this comment at |
#116 This worked for me. I'm no longer experiencing re-renders caused bu actions.