Open
Description
Version
2.6.10
Reproduction link
https://codesandbox.io/s/vue-test-default-slot-always-exec-syuny
Steps to reproduce
when computed props or method declared in slot fallback , looks like this:
// XXX component
<slot>
no render, but always run {{p}}, {{print()}} <Func/>
</slot>
// use it
<XXX>
actual replaced content
</XXX>
What is expected?
computed and method not invoked , because they can't render
What is actually happening?
computed is invoked once change.
method is invoked once render .