GitShow/antfu/vite-plugin-vue-server-ref
antfu

vite-plugin-vue-server-ref

Share state between clients and Vite server

by antfu
Star on GitHubForknpm

TypeScript

75 stars1 forks2 contributorsQuiet · 1y agoSince 2021v1.0.0

Meet the team

See all 2 on GitHub →
antfu
antfu70 contributions
tonai
tonai2 contributions

Languages

View on GitHub →
TypeScript62.9%
JavaScript33%
Vue2.6%
HTML1.5%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README○License✓Contributing✓Code of Conduct○Issue Template✓PR Template

Recent PRs & issues

Quiet · 1 discussion · Last activity 1y ago
See all on GitHub →
tonai
Server ref performance when chrome devtools is openOpenIssue

Describe the bug That's quite a strange bug but when chrome devtools is open, Server ref are really much slower. If you have two synced clients, one with devtools open and the other one without devtools open: data coming from the client without devtools open is fast (and updates on the other client are also fast) data coming from the client with devtools open is slow (slow outgoing logs when using ) No problem with firefox. Reproduction https://github.com/tonai/vue-app System Info Used Package Manager npm Validations [X] Follow our Code of Conduct [X] Read the Contributing Guide. [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [X] The provided reproduction is a minimal reproducible of the bug.

tonai · 3y ago

Recent fixes

View closed PRs →
tonai
Vite 4.x compatibilityClosedIssue

Clear and concise description of the problem In peerDependencies states that should be 2.x or 3.x. It would be greate if it can be compatible with 4.x. Suggested solution Maybe there is nothing to do but to update Alternative _No response_ Additional context _No response_ Validations [X] Follow our Code of Conduct [X] Read the Contributing Guide. [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

tonai · 2y ago
tonai
fix: server ref update for primitivesMergedPR

Description Fix server ref sync for primitives. Linked Issues Fixes https://github.com/antfu/vite-plugin-vue-server-ref/issues/4 Additional context

tonai · 2y ago
tonai
Update error when using server-ref for primitiveClosedIssue

Describe the bug When using a server ref that has been declared with: Then imported with: When we try to update the ref in a browser instance, there is an error in the other browser instances: . Also I tried to reproduce directly in the repo to add an example in the example app, but I also have an error when trying to start the app: Reproduction https://github.com/tonai/vue-app System Info Used Package Manager pnpm Validations [X] Follow our Code of Conduct [X] Read the Contributing Guide. [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [X] The provided reproduction is a minimal reproducible of the bug.

tonai · 2y ago
Structured data for AI agents

Repository: antfu/vite-plugin-vue-server-ref. Description: Share state between clients and Vite server Stars: 75, Forks: 1. Primary language: TypeScript. Languages: TypeScript (62.9%), JavaScript (33%), Vue (2.6%), HTML (1.5%). Latest release: v1.0.0 (1y ago). Open PRs: 0, open issues: 1. Last activity: 1y ago. Community health: 85%. Top contributors: antfu, tonai.

·@ofershap

Replace github.com with gitshow.dev