Skip to content

Reference TanStack Query support in the stack positioning #13

Description

@justin808

Reference TanStack Query support in the stack positioning

ShakaStack's thesis is "embrace TanStack Query / Router / Table, substitute for TanStack Start." There's now a concrete, citeable proof for the Query half: the Using TanStack Query guide (shakacode/react_on_rails#4237) and the live starter. The site should link them.

What to add

A short section / FAQ entry (candidates: src/components/Stack.astro or StackExplorer.tsx, src/components/Faq.astro, src/components/VsNextjs.astro, content in src/data/shaka.ts) that:

  • States TanStack Query is the recommended client-side server-state layer on a Rails JSON API, and
  • Links the guide + the starter as proof.

Suggested copy

Does ShakaStack work with TanStack? Yes — Query, Router, and Table are first-class. Rails stays the source of truth; TanStack Query gives React caching, refetching, mutations, and first-paint data. See the Using TanStack Query guide and the runnable starter. (We embrace TanStack's client libraries; we substitute Rails + React on Rails Pro for TanStack Start, the server tier.)

For the Start-vs-RoR framing, see shakacode/react_on_rails#4242 and shakacode/react_on_rails#4246.

The TanStack Query support to link

Context: the guide is new (shakacode/react_on_rails#4237, merged) and presents TanStack Query as the recommended client-side server-state layer for Rails-backed React apps. This issue is one of a small cross-repo set adding references to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions