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
WIP: Style guide for Styleguidist UI - issue #897 #926
WIP: Style guide for Styleguidist UI - issue #897 #926
Conversation
Generated by 🚫 dangerJS |
Thanks for the pull request! I'll look into failing tests, I didn't expect that ;-£ |
You can remove |
@sapegin thanks! there was also a React error for getting the same key for an Regarding the |
Please don't use random keys in React, this is much worse than using indexes as keys (which can be acceptable in rare cases): you're telling React that you have a new object every render, so React has remove a previous element, create and mount a new one, instead of updating an existing one (in case of changed props) or not doing anything at all. This is never what you want ;-) Could you try
Ignore that, we need to make the warning more clear ;-) You need to do that if you change any dependencies, which isn't the case here. |
@sapegin that's really helpful to know - always good to learn best practices in React. Just pushed the change, let me know if you need anything else! |
Codecov Report
|
@sapegin let me know if there's anything else I can do to get this merged - thanks! |
Thank you, merged 🦄 |
WIP for #897