{"library":"vite-plugin-vue-server-ref","type":"library","category":null,"description":"vite-plugin-vue-server-ref is a Vite plugin designed to facilitate the sharing of reactive state between multiple Vue clients and the Vite development server. It enables real-time synchronization of data across browser tabs or different client instances, utilizing Vue's reactivity system. The current stable version is v1.0.0, which notably transitioned to an ESM-only architecture, dropping CommonJS support. The package sees active development with regular updates addressing bug fixes and introducing minor features. Key differentiators include its tight integration with Vite's dev server, the use of virtual module imports (e.g., `server-ref:key`, `server-reactive:key`) for seamless state access, and features like granular synchronization control and incremental updates for reactive objects via diffing.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","vite-plugin","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vite-plugin-vue-server-ref","imports":["import ServerRef from 'vite-plugin-vue-server-ref'","import foo from 'server-ref:foo'","import object from 'server-reactive:object'","import type { ServerRef, ServerReactive } from 'vite-plugin-vue-server-ref/client'"]},{"cmd":"yarn add vite-plugin-vue-server-ref","imports":[]},{"cmd":"pnpm add vite-plugin-vue-server-ref","imports":[]}],"homepage":null,"github":"https://github.com/antfu/vite-plugin-vue-server-ref","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-plugin-vue-server-ref","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vite-plugin-vue-server-ref/compatibility"}}