Subscribe on changes!

render function is not patched when using @vue/compat and `extends:`

avatar
Oct 12th 2022

Vue version

3.2.40

Link to minimal reproduction

https://stackblitz.com/edit/vitejs-vite-5cyxjs?file=src%2Fmain.js

Steps to reproduce

It will raise exception immediately

What is expected?

foo text is rendered

What is actually happening?

Exception is raised:

Uncaught TypeError: h is not a function

System Info

No response

Any additional comments?

The error is due-to @vue trying to patch render function in ExtendedComponent type, however it is not there, and will appear later, when extends will be applied