Skip to content

Docs: document merge behavior for v-bind - #1852

Open
tisma95 wants to merge 1 commit into
mainfrom
1844-docs-add-mergeprops-behavior-note-to-props-guide
Open

Docs: document merge behavior for v-bind#1852
tisma95 wants to merge 1 commit into
mainfrom
1844-docs-add-mergeprops-behavior-note-to-props-guide

Conversation

@tisma95

@tisma95 tisma95 commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Add a new section to src/guide/components/props.md explaining how Vue merges explicit props with v-bind (internally via mergeProps()). Covers merge strategies: regular props are last-wins, event listeners (using onEventName keys) are combined so all handlers run, and class/style follow their own merging rules. Includes examples and a pointer to the mergeProps API for full rules.

Actions à effectuer :

  • Vérifier que le nombre de lignes supprimées égale le nombre de lignes ajoutées
  • Mettre en cohérence toute référence à la page traduite qui serait présente sur d'autres pages
  • Mettre à jour le lien du menu
  • Lier la PR à une issue
    Closes #

Remarques:

Add a new section to src/guide/components/props.md explaining how Vue merges explicit props with v-bind (internally via mergeProps()). Covers merge strategies: regular props are last-wins, event listeners (using onEventName keys) are combined so all handlers run, and class/style follow their own merging rules. Includes examples and a pointer to the mergeProps API for full rules.
@tisma95
tisma95 requested a review from edimitchel June 22, 2026 11:40
@tisma95 tisma95 self-assigned this Jun 22, 2026
@tisma95 tisma95 linked an issue Jun 22, 2026 that may be closed by this pull request
@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs-fr Ready Ready Preview, Comment Jun 22, 2026 11:41am

Request Review

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.

docs: add mergeProps behavior note to props guide

1 participant