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
Using composition API one of the biggest hurdles for those used to options API (and maybe for others as well) is getting used to having to know the nature of the reactivity of any given variable.
I think it would be really helpful if the editor was able to highlight ref/reactive, and maybe also shallowRef/shallowReactive in a different way so they can be visually identified immediately without needing to find their definition to check.
Maybe with an underline: 1 line for shallow, 2 lines for deep and a different color for ref vs reactive?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Using composition API one of the biggest hurdles for those used to options API (and maybe for others as well) is getting used to having to know the nature of the reactivity of any given variable.
I think it would be really helpful if the editor was able to highlight ref/reactive, and maybe also shallowRef/shallowReactive in a different way so they can be visually identified immediately without needing to find their definition to check.
Maybe with an underline: 1 line for shallow, 2 lines for deep and a different color for ref vs reactive?
Would this be possible?
Beta Was this translation helpful? Give feedback.
All reactions