Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Skill Feedback: meta-framework (mixed)

Aperta
#1,336 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
58/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
postgres, typescript

Direzione di ricerca

Individua la skill del meta-framework e confronta le relative indicazioni lato client per TanStack Start con l'integrazione lato server mancante descritta qui. Leggi le indicazioni esistenti su Electric ed electric-new-feature, quindi documenta il pattern valido di server.handlers su createFileRoute e il collegamento della mutation di createServerFn; il lavoro è completo quando entrambi gli aspetti server sono coperti senza l'esempio non valido di createServerFileRoute.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Skill Feedback: meta-framework

Package: @tanstack/db
Skill version: 0.5.30
Rating: mixed

Task

Integrate TanStack DB with Electric in a TanStack Start app — both the client-side (live queries, preloading) and the server-side (proxy route for Electric shapes, mutation endpoints).

What Worked

  • ssr: false + await collection.preload() in route loader pattern was correct and clear
  • "Collections are singletons — define once in shared module" guidance was helpful
  • The TanStack Start code examples matched the actual API

What Failed

  • No direct errors from this skill.

Missing

  1. Server-side integration is completely absent — The skill covers the client-side integration thoroughly (ssr: false, preload, live queries) but says nothing about the server-side: how to create a proxy route for Electric shapes, and how to set up mutation endpoints using createServerFn. The electric-new-feature skill tried to fill this gap with a TanStack Start proxy route example, but used createServerFileRoute which doesn't exist. If the meta-framework skill covered the server route pattern for TanStack Start (using server.handlers on createFileRoute), this would have been the natural place to find it.

  2. No mention of createServerFn for mutations — When using Electric with TanStack Start, mutations go through server functions that call Postgres and return a txid. The meta-framework skill focuses entirely on the read path. A brief "mutations go through createServerFn — see the Electric skill for txid handshake details" would connect the dots.

Self-Corrections

  • None directly from this skill — the client-side patterns all worked on the first try.

User Comments

  • User suggested the Electric skill "shouldn't say much about TanStack Start's usage — or it should have a dedicated one." A meta-framework skill that covers both client and server integration for each framework would be that dedicated skill.
Lingua principale
TypeScript
Stelle
3.9k
Fork
272
Merge medio
1g 48m
PR unite (30g)
238

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di TanStack/db

Tutte le issue di TanStack/db

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.