Template without ref unwrapping #574
kaikaibenkai
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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