warnOnce() — vue Function Reference
Architecture documentation for the warnOnce() function in render.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD fef82ef1_c853_c642_2deb_02c317cb0187["warnOnce()"] f98325d3_a650_0f85_8573_d782ecc5b533["renderComponent()"] f98325d3_a650_0f85_8573_d782ecc5b533 -->|calls| fef82ef1_c853_c642_2deb_02c317cb0187 a8c8f192_fd2d_dbe3_46ed_dd8fabebc429["warn()"] fef82ef1_c853_c642_2deb_02c317cb0187 -->|calls| a8c8f192_fd2d_dbe3_46ed_dd8fabebc429 style fef82ef1_c853_c642_2deb_02c317cb0187 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/server-renderer/src/render.ts lines 20–26
const warnOnce = msg => {
if (!warned[msg]) {
warned[msg] = true
// eslint-disable-next-line no-console
console.warn(`\n\u001b[31m${msg}\u001b[39m\n`)
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does warnOnce() do?
warnOnce() is a function in the vue codebase.
What does warnOnce() call?
warnOnce() calls 1 function(s): warn.
What calls warnOnce()?
warnOnce() is called by 1 function(s): renderComponent.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free