From e1507fa8fa72fb5d8547553e55c6ca1ee87ea766 Mon Sep 17 00:00:00 2001 From: dojhoanrd-jw Date: Tue, 17 Feb 2026 12:38:53 -0800 Subject: [PATCH] docs(*): fix broken code examples in Vue and React SSR guides --- docs/framework/react/guides/ssr.md | 10 +++------- docs/framework/vue/guides/arrays.md | 3 +-- docs/framework/vue/guides/async-initial-values.md | 2 +- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/docs/framework/react/guides/ssr.md b/docs/framework/react/guides/ssr.md index 85581efb8..4cffe7e73 100644 --- a/docs/framework/react/guides/ssr.md +++ b/docs/framework/react/guides/ssr.md @@ -106,13 +106,9 @@ Finally, we'll use `getFormDataFromServer` in our loader to get the state from o ```tsx // app/routes/index.tsx -import { - createFileRoute - mergeForm, - useForm, - useStore, - useTransform, -} from '@tanstack/react-form-start' +import { createFileRoute } from '@tanstack/react-router' +import { mergeForm, useForm, useTransform } from '@tanstack/react-form-start' +import { useStore } from '@tanstack/react-store' export const Route = createFileRoute('/')({ component: Home, diff --git a/docs/framework/vue/guides/arrays.md b/docs/framework/vue/guides/arrays.md index 81827a2ff..39e6b628e 100644 --- a/docs/framework/vue/guides/arrays.md +++ b/docs/framework/vue/guides/arrays.md @@ -7,8 +7,7 @@ TanStack Form supports arrays as values in a form, including sub-object values i ## Basic Usage -To use an array, you can use `field.state.value` on an array value in conjunction -with [`Index` from `solid-js`](https://www.solidjs.com/tutorial/flow_index): +To use an array, you can use `field.state.value` on an array value in conjunction with `v-for`: ```vue