Skip to content

Conversation

@KazariEX
Copy link
Member

@KazariEX KazariEX commented Sep 2, 2024

No description provided.

@FloEdelmann
Copy link
Member

Thanks! But can you please elaborate on the change? Where is useTemplateRef documented? Is it a native Vue feature?

@KazariEX
Copy link
Member Author

KazariEX commented Sep 2, 2024

It is a new feature of Vue 3.5 and there is no documentation yet.

https://github.com/vuejs/core/blob/main/packages/runtime-core/src/helpers/useTemplateRef.ts

@KazariEX KazariEX requested a review from ota-meshi September 2, 2024 16:34
KazariEX and others added 2 commits September 3, 2024 21:34
Co-authored-by: Flo Edelmann <git@flo-edelmann.de>
Copy link
Member

@FloEdelmann FloEdelmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine from my side 🙂

@FloEdelmann
Copy link
Member

FloEdelmann commented Sep 3, 2024

FYI: Vue 3.5 with useTemplateRef was released two days ago: https://blog.vuejs.org/posts/vue-3-5#usetemplateref

@s3xysteak
Copy link

Now it is the most recommended way to use template ref https://vuejs.org/guide/essentials/template-refs.html#accessing-the-refs. Hope it can be merged soon 😄 .

Copy link
Member

@ota-meshi ota-meshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you!

@ota-meshi ota-meshi merged commit c27837d into vuejs:master Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants