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
For a more concise syntax or smoother transition from Vue 2, Vue 3 will automatically unwrapping refs in <template>.
This is like a "syntax exception". Without TS, it would increase the mental burden on developers and be like a mandatory Reactivity Transform.
Although the drawbacks of responsive conversion no longer exist in templates, it is still an exception.
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
-
For a more concise syntax or smoother transition from Vue 2, Vue 3 will automatically unwrapping refs in
<template>
.This is like a "syntax exception". Without TS, it would increase the mental burden on developers and be like a mandatory Reactivity Transform.
Although the drawbacks of responsive conversion no longer exist in templates, it is still an exception.
Expected:
link vuejs/rfcs#608
Beta Was this translation helpful? Give feedback.
All reactions