Skip to content

docs: JSDoc @example coverage, new feature demos, docs depth pass - #29

Merged
developerEhsan merged 2 commits into
masterfrom
docs/jsdoc-examples-overhaul
Aug 14, 2026
Merged

docs: JSDoc @example coverage, new feature demos, docs depth pass#29
developerEhsan merged 2 commits into
masterfrom
docs/jsdoc-examples-overhaul

Conversation

@developerEhsan

@developerEhsan developerEhsan commented Aug 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds @example blocks (+ GitHub-linked @see) to public exports and config fields across packages/core and packages/tanstack-query, closing the biggest IDE-discoverability gap (JSDoc without runnable examples).
  • Adds example demos for every previously-undemonstrated feature: concurrency queue, multi-tenancy, streaming, cache persistence (IndexedDB), timeouts/cancellation, manual types (no codegen), RPC rate limiting, environment switching (edge/node adapter downgrade), and a live codegen run — in examples/react-vite and examples/nextjs.
  • Deepens six thin docs pages (deduplication, environments, concurrency-queue, rpc-rate-limiting, retries, hooks-and-events) to match the depth of cache-persistence.md/authentication.md, with every technical claim (pipeline order, backoff formula, queue ordering, rate-limit config, hook fields) verified against current source.
  • Full plan tracked in docs/plan/11-docs-jsdoc-examples-overhaul.md (step + verify format).

No runtime behavior changes — docs/JSDoc/examples only.

Test plan

  • pnpm build clean, all packages
  • pnpm typecheck clean, all packages
  • pnpm test clean, all packages (incl. new react-vite test)
  • node scripts/check-browser-bundle.mjs clean
  • Live smoke tests: rate-limit route returns 429 after limit, edge route downgrades axios→fetch (verified via detectEnvironment()), streaming demo renders incrementally, codegen regen produces zero content drift

Implements docs/plan/11-docs-jsdoc-examples-overhaul.md: adds @example
blocks to public exports and config fields (core + tanstack-query) with
GitHub-linked @see references, adds example demos for previously
undemonstrated features (concurrency queue, multi-tenancy, streaming,
cache persistence, timeouts/cancellation, manual types, RPC rate
limiting, environment switching, live codegen), and deepens six thin
docs pages with source-verified worked examples.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
api-client-nextjs Ready Ready Preview Aug 14, 2026 1:12pm
api-client-react-vite Ready Ready Preview Aug 14, 2026 1:12pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant