Home / Function/ mergeProps() — vue Function Reference

mergeProps() — vue Function Reference

Architecture documentation for the mergeProps() function in create-functional-component.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  71ca33ff_0c9e_b9d8_f61a_913fbf9ecdf7["mergeProps()"]
  c4732d15_fd52_2b9b_6d6d_65e127972dda["createFunctionalComponent()"]
  c4732d15_fd52_2b9b_6d6d_65e127972dda -->|calls| 71ca33ff_0c9e_b9d8_f61a_913fbf9ecdf7
  style 71ca33ff_0c9e_b9d8_f61a_913fbf9ecdf7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/core/vdom/create-functional-component.ts lines 176–180

function mergeProps(to, from) {
  for (const key in from) {
    to[camelize(key)] = from[key]
  }
}

Domain

Subdomains

Frequently Asked Questions

What does mergeProps() do?
mergeProps() is a function in the vue codebase.
What calls mergeProps()?
mergeProps() is called by 1 function(s): createFunctionalComponent.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free