Skip to content

component-hmr v1.0.2

Choose a tag to compare

@github-actions github-actions released this 19 Nov 03:05
7e26a4d

Patch Changes

  • Fix a ReferenceError during HMR when a component's setup creates a callback that uses a setup variable declared after it, such as an abort listener that calls a let reset = () => {} declared further down. The same code worked without HMR, so whether it broke in development depended only on the order of the setup declarations. (#12290)