-
-
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
remove the defaultValue feature for argTypes #19492
Conversation
@shilman I'd like your review on this.. I commented out the test code, because I didn't know if I should remove it or modify it, please advice what you'd like me to do about that. I also suspect that there might be stories (in our own codebase) out there somewhere that use this deprecated feature? |
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.
Yes, I think I discovered in the angular work that it is still setting default values from compodoc (which is often very annoying, TBH). Still it might make it a disruptive changes for angular users.
Probably we need to pull the bandaid though.
Discussed with @shilman he'll take a look at this, when he has time. I'll continue with other deprecations removal work. |
@ndelangen I think you should play around with some of the angular stories with and without this change. For example this line of code: I'm pretty sure it leads to an |
@shilman Do you think it's possible for us to resolve this together on Monday? and get this merged? |
@ndelangen Sure! Let's do it |
@ndelangen sorry for the delay here, I got to the bottom of it: #19935 |
remove the deprecated defaultValue property api for argTypes