Skip to content

docs(*): fix broken code examples in Vue and React SSR guides#2046

Open
dojhoanrd-jw wants to merge 1 commit intoTanStack:mainfrom
dojhoanrd-jw:docs/fix-broken-code-examples
Open

docs(*): fix broken code examples in Vue and React SSR guides#2046
dojhoanrd-jw wants to merge 1 commit intoTanStack:mainfrom
dojhoanrd-jw:docs/fix-broken-code-examples

Conversation

@dojhoanrd-jw
Copy link

🎯 Changes

Fix incorrect code examples in three documentation guides:

  • SSR guide (docs/framework/react/guides/ssr.md): Fix import statement that grouped createFileRoute, mergeForm, useForm, useStore, and useTransform under a single @tanstack/react-form-start import. Split into correct packages matching the actual example in examples/react/tanstack-start/src/routes/index.tsx.
  • Vue async-initial-values guide (docs/framework/vue/guides/async-initial-values.md): Add missing computed import from vue. The example uses computed() but it was not included in the import statement.
  • Vue arrays guide (docs/framework/vue/guides/arrays.md): Replace incorrect reference to Index from solid-js with v-for. The text was copied from the Solid guide but the code example uses Vue's v-for directive.

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested this code locally with pnpm test:pr.

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is docs/CI/dev-only (no release).

@changeset-bot
Copy link

changeset-bot bot commented Feb 17, 2026

⚠️ No Changeset found

Latest commit: e1507fa

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dojhoanrd-jw dojhoanrd-jw marked this pull request as ready for review February 17, 2026 20:56
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

Comments