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
Hey @bbugh, this is not something in the scope of Vite Core. Check out vuejs/rfcs#228 if you would like to see some ideas that the Vue community is thinking on to tackle this issue, but for reference Vite Core is framework agnostic so this kind of features should be implemented by each framework community through plugins.
Clear and concise description of the problem
I searched around and was surprised not to see any issues about this topic; I apologize if it's a duplicate.
JSX with Vue works great in vite, but it's very easy to forget which items are computed/refs and require
.value
Suggested solution
It would be really nice if the compiler was able to automatically unwrap
ComputedRef
andRef
without having to explicitly state.value
, like SFCs do.Alternative
Using
.value
everywhere in templatesAdditional context
No response
Validations
The text was updated successfully, but these errors were encountered: