electric-sql / electric-sql/electric

[Electric 2.0] Create Collections & Queries Guide

Open
#3,536 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
10.4k
Forks
375
Avg merge
3d 1h
Merged PRs (30d)
18

Description

## Goal
Frontend data modeling patterns with TanStack DB

## Scope
- How to model data loading in frontend apps
- Multiple patterns (co-located queries, progressive loading, pagination)
- When to use each pattern
- TanStack DB integration examples
- Progressive data loading for AI apps scenario

## New File
`/website/docs/guides/collections-queries.md` (name TBD - open to suggestions)

## Dependencies
TanStack DB integration must be solid

## Acceptance Criteria
Covers all major frontend data loading patterns

## Context
Part of Electric 2.0 launch. This guide shows developers how to think about data loading in a sync-first world.

## Open Question
What should this guide be called? "Collections & Queries"? "Data Loading Patterns"? "Frontend Queries"?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.