Skip to content

BUG | @vueuse/core@12 | HMR failure #4887

@xbsheng

Description

@xbsheng

Describe the bug

In my project, using @vueuse/core version 12 will cause HMR to fail. Is this a compatibility issue? I downgraded @vueuse/core to version 11.3.0, and HMR worked fine. Thank you all maintainers for your answers

This is a reproducible demo: https://github.com/xbsheng/vueuse12-hmr-demo

Image

Reproduction

https://github.com/xbsheng/vueuse12-hmr-demo

System Info

System:
    OS: macOS 15.0.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 128.16 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.18.2 - ~/.nvm/versions/node/v18.18.2/bin/node
    Yarn: 1.22.21 - ~/.nvm/versions/node/v18.18.2/bin/yarn
    npm: 9.8.1 - ~/.nvm/versions/node/v18.18.2/bin/npm
  Browsers:
    Chrome: 138.0.7204.157
    Edge: 138.0.3351.83
    Firefox: 121.0.1
    Safari: 18.0.1
  npmPackages:
    @vueuse/core: 12.8.2 => 12.8.2 
    vue: 3.2.36 => 3.2.36

Used Package Manager

pnpm

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy