Replies: 2 comments
-
It can do that. Refer to playground. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Do not use ref in render functions. Use the value instead:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
在当前版本中, 不支持直接解构 restProps
支持组件直接解构 refs, 无需当心因解构 props 而失去响应式,且无需任何多余的 api , 且向下兼容
在 sfc 中
同样在 tsx 中
Beta Was this translation helpful? Give feedback.
All reactions