Skip to content

Conversation

ktsn
Copy link
Member

@ktsn ktsn commented Sep 17, 2020

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.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants