Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

SSR and hydration support for @tanstack/vue-db

オープン
#1,963 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
backend, frontend

調査の方向性

Start with the existing SSR guide, core SSR payload and observer contracts, and the React/Svelte integrations described in the issue. Trace how Vue live queries currently resolve collection descriptors, then use real Vue server rendering and browser hydration to verify request isolation, matching initial rows and order, and a post-hydration live update; document the supported setup and remaining limits.

索引モデルが issue の本文から書いたものです。

説明

Follow-up to #1623 (Phase 6). #1564 added core DbClient, collection descriptors, dehydration/hydration, and React/Svelte integrations. The current SSR guide explicitly leaves Vue client-provider work for a later change.

Goal

Support server rendering of Vue live queries with a request-scoped DbClient, then hydrate the same result into a stable browser client. Keep Vue-native reactivity and existing non-SSR useLiveQuery usage.

Acceptance criteria

  • Provide an idiomatic Vue app/client scope (for example, provide/inject) so live queries can resolve collection descriptors against the correct DbClient. A fresh server client is used per request; direct collection inputs continue to work.
  • A server render can preload a collection or live query, render its rows, and serialize dbClient.dehydrate() without sharing state between requests.
  • The browser hydrates that state before the first live-query read, renders matching initial rows and order, and hands off to normal sync without duplicate rows or a hydration mismatch.
  • Add an integration or E2E test using real Vue server render and browser hydration. Cover request isolation and a post-hydration live update.
  • Document Vue setup, the supported query forms, and any remaining SSR limits (including infinite queries if they need separate work).

Use the existing core SSR payload and observer contracts; a new cross-framework payload format is outside this issue.

主要言語
TypeScript
スター
3.9k
フォーク
267
平均マージ
1日 5時間
マージ済み PR(30日)
134

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

TanStack/db のほかの issue

TanStack/db の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。