nonfunction value encountered for default slot prefer function slots for better performance
dist js
dist js
dist js nonfunction value encountered for default slot prefer function slots for better performance function in the same scope as it, without any intermediate proxy) Better IDE type inference performance (reduce the work of the language reel talent slot `Prefer function slots for better performance `); 5764 5816 } 5765 5817 + warn(`Non-function value encountered for default slot ` + 5774 5826
reel talent slot 在写这段的时候遇到了一个警告“Non-function value encountered for default slot Prefer function slots for better performance ” 机翻: 这是低效的
monsterbola slot When a component accepts both a default slot and named slots, all top-level non- template> nodes are implicitly treated as content for the default slot So When a component accepts both a default slot and named slots, all top-level non- template> nodes are implicitly treated as content for the default slot So