Closed
Description
Version
2.6.5
Reproduction link
https://github.com/AlexandreBonaventure/vue-hmr-bug
Steps to reproduce
- run the dev server
- change the content inside the named slot
test
here : https://github.com/AlexandreBonaventure/vue-hmr-bug/blob/master/src/App.vue#L5 - see in the browser nothing has changed
- uncomment that: https://github.com/AlexandreBonaventure/vue-hmr-bug/blob/master/src/App.vue#L4
- see in the browser HMR is working again as expected
What is expected?
That HMR works even if the default slot is not overriden.
What is actually happening?
If the default slot is not overridden (content set in the parent scope), HMR does not trigger a re-render for named slots content.
ps: sorry here for the minimal repro with a build step, but dunno how else we can do it!