You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to choose on how to convert data props to reactive values. There are two methods: value and state and value is the default one now. I would like to pick state instead.
As far as I understand this wouldn't let you use data.visible anywhere in the setup function since in this case data is the reactive object and spreading its properties simply copies primitive values over to the returned object.
In the setup context yes, but it should be always accessed via the data object there, not from the spread. But on the render context it would be mutable and reactive, if I'm not missing something.
I would like to be able to choose on how to convert data props to reactive values. There are two methods:
value
andstate
andvalue
is the default one now. I would like to pickstate
instead.Input:
Current output:
Output with
state
:The text was updated successfully, but these errors were encountered: