Conversation

ktsn

fix vuejs/vue-class-component#451

Since the raw class component is passed to the HMR reload API, it tries to extract component options from the class constructor which causes the issue. We have to extract its component options if a class is passed to the HMR API.

@ktsnktsn changed the title fix: make HMR working with class components fix(runtime-core): make HMR working with class components Sep 17, 2020
@yyx990803yyx990803 merged commit 422f05e into vuejs:master Sep 18, 2020
@ktsnktsn deleted the hot-reload-class-component branch September 18, 2020 04:22
Sign up for free to join this conversation on . Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

Property "message" was accessed during render but is not defined on instance. - Vue 3 & TypeScript