vuejs / repl

Vue SFC REPL as a Vue 3 component
https://repl-vuejs.vercel.app
MIT License
930 stars 172 forks source link

fix: resolve async issues with language tools loading #275

Closed sunnylost closed 2 months ago

sunnylost commented 2 months ago

fix https://github.com/vuejs/repl/issues/263

Because reloadLanguageTools() is an asynchronous method, it may be called repeatedly before disposeVue is created, leading to volar.registerProviders() not being correctly disposed of, resulting in duplicate hover cards.

vercel[bot] commented 2 months ago

@sunnylost is attempting to deploy a commit to the vuejs Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
repl ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 25, 2024 6:29am
pkg-pr-new[bot] commented 2 months ago

commit: ea7a055

pnpm add https://pkg.pr.new/vuejs/repl/@vue/repl@275

Open in Stackblitz