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
When using Vite dev server. Editing a component includes a component with slot content seems to prevent HMR re-render.
<template><h1>Slot HMR Bug Reproduction</h1><!-- Editing this line does trigger HMR render --><SimpleSlot>
Slot <!-- Editing this line does NOT trigger HMR render --></SimpleSlot></template><!-- SimpleSlot.vue in other file, here for clarity --><templatefunctional><div><slot></slot></div></template>
I have tested and noticed a few things:
When hitting save in the above situation, the HMR network call happens, and I can see the content is correct. But, a re-render of the component never happens.
Spittal
changed the title
Editing Content in Nested Slots Does Not Trigger HMR Render
Editing Content in Slots Does Not Trigger HMR Render
May 28, 2020
Describe the bug
When using Vite dev server. Editing a component includes a component with slot content seems to prevent HMR re-render.
I have tested and noticed a few things:
Reproduction
https://github.com/jamiealex/nested-slot-hmr-vite-bug-reproduction
System Info
vite
version: 0.17.2The text was updated successfully, but these errors were encountered: