You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
It's really simple, any component that uses <keep-alive> around dynamic components will trigger this warning:
[Vue warn]: Non-function value encountered for default slot. Prefer function slots for better performance.
at <KeepAlive>
To Reproduce
Create a component that has dynamic components surrounded by <keep-alive>. Add any test for it and observe the warning during shallowMount rendering. Warning goes away as soon as the <keep-alive> tags are removed or using full mount.
Expected behavior
Would expect this to behave exactly the same as Teleport, i.e. no warning shown in the console and being able to globally mock KeepAlive in a similar way.