-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Would love editable props #669
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
Comments
уоu can edit data (which is passed as prop to your component) in parent component. |
I understand that, but most of the time i'm not setting those props with a variable from data. |
I think editing
But feel free to test it yourself
|
maybe as an option? :D |
@emanuelmutschlechner what are the plan for #547, it actually looks pretty dead. |
This is an interesting feature so we could directly test an individual component is behaving correctly when a prop is changed just like how we could manipulate an attribute of a Web Component. |
This would be very useful for me since I often need to inspect the styling of a dropdown in dev tools but it closes when I click anywhere. I need to be able to switch a true/false prop to keep it open. |
This is a great feature, I just used it for testing a component I'm making. Thanks for adding it :) |
is it possible there's been regression on this feature? I'm unable to edit props in 2022 Screen.Recording.2022-07-21.at.11.56.25.AM.mov |
What problem does this feature solve?
Lot's of times I would like to see quick changes when a prop is changed, but most of the time the props getting sent in are hard coded. I would love to be able to change props on the fly as well as data.
What does the proposed API look like?
Make props editable the same way that data is editable.
The text was updated successfully, but these errors were encountered: