TanStack / TanStack/ai

Should TanStack markdown be used in TanStack AI's UI packages/Tanstack ecosystem?

Open
#1,342 2 comments 3 reactions 1 assignee View on GitHub

@AlemTuzlak is already working on this.

Since Sep 17, 2026.

waiting-on: maintainer
Dominant language
TypeScript
Stars
3.1k
Forks
331
Avg merge
1d 22h
Merged PRs (30d)
160

Description

TanStack AI's three UI packages each render markdown with a different library:

Package Renderer Runtime deps
@tanstack/ai-react-ui react-markdown 5
@tanstack/ai-vue-ui @crazydos/vue-markdown 4
@tanstack/ai-solid-ui solid-markdown 5

Each also carries its own remark-gfm / rehype-raw / rehype-highlight / rehype-sanitize chain, configured slightly differently(React and Solid compose rehype-sanitize into the pipeline, Vue delegates to its renderer's sanitize prop, etc)

From the outside this looks like the one place the usual TanStack shape with framework-agnostic core, thin adapters, isn't applied, and this package looks like the core that would apply it. Per the comparison doc that's 36.8 KB gzip of unified stack against 6.7 KB with zero runtime dependencies.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.