Skip to content

refactor(prefer-use-template-ref): optimize performance and type safety - #2982

Merged
FloEdelmann merged 5 commits into
vuejs:masterfrom
9romise:prefer-template-ref/refactor
Nov 27, 2025
Merged

refactor(prefer-use-template-ref): optimize performance and type safety#2982
FloEdelmann merged 5 commits into
vuejs:masterfrom
9romise:prefer-template-ref/refactor

Conversation

@9romise

@9romise 9romise commented Nov 27, 2025

Copy link
Copy Markdown
Collaborator
  • Optimize array processing with flatMap.
  • Add stricter type checks for ref()/shallowRef() calls.
  • Use a Map to match the ref in template and script.

@changeset-bot

changeset-bot Bot commented Nov 27, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: fa2bf56

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
eslint-plugin-vue Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@FloEdelmann FloEdelmann left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks, very cool!

@FloEdelmann
FloEdelmann merged commit 2ac139a into vuejs:master Nov 27, 2025
15 checks passed
@github-actions github-actions Bot mentioned this pull request Nov 27, 2025
@9romise
9romise deleted the prefer-template-ref/refactor branch November 27, 2025 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants