Replies: 1 comment
-
原来的
|
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
Uh oh!
There was an error while loading. Please reload this page.
-
现在的 vue 的 api 已经很稳定了,希望不要再一味的新增加 api 了
ref 用于绑定宿主元素是很符合直觉的,在没有看过 vue3 的 api 时,就是通过直觉去使用 ref 来进行宿主元素的绑定,因为这是个响应是数据,追踪宿主元素完成挂载后实现绑定很符合直觉
新增一个类似于 querySelector 获取 jquery("#id") 的 api 的意义就只是为了方便吗?还是说为了语言上的表达清晰?
Beta Was this translation helpful? Give feedback.
All reactions