diff --git a/docs/start/config.json b/docs/start/config.json
index 5aa7af5324..b0b90f3e7a 100644
--- a/docs/start/config.json
+++ b/docs/start/config.json
@@ -209,6 +209,34 @@
]
}
]
+ },
+ {
+ "label": "Tutorials",
+ "children": [],
+ "frameworks": [
+ {
+ "label": "react",
+ "children": [
+ {
+ "label": "Reading and Writing a File",
+ "to": "framework/react/reading-writing-file"
+ }
+ ]
+ },
+ {
+ "label": "solid",
+ "children": [
+ {
+ "label": "Bare",
+ "to": "framework/solid/examples/start-bare"
+ },
+ {
+ "label": "Basic",
+ "to": "framework/solid/examples/start-basic"
+ }
+ ]
+ }
+ ]
}
]
}
diff --git a/docs/start/framework/react/reading-writing-file.md b/docs/start/framework/react/reading-writing-file.md
new file mode 100644
index 0000000000..a18d67722c
--- /dev/null
+++ b/docs/start/framework/react/reading-writing-file.md
@@ -0,0 +1,590 @@
+---
+id: reading-and-writing-file
+title: Building a Full Stack DevJokes App with TanStack Start
+---
+
+This tutorial will guide you through building a complete full-stack application using TanStack Start. You'll create a DevJokesapp where users can view and add developer-themed jokes, demonstrating key concepts of TanStack Start including server functions, file-based data storage, and React components.
+
+Here's a demo of the app in action:
+
+
+The complete code for this tutorial is available on [GitHub](https://github.com/shrutikapoor08/devjokes).
+
+
+## What You'll Learn
+1. Setting up a TanStack Start project
+2. Implementing server functions
+3. Reading and writing data to files
+4. Building a complete UI with React components
+5. Using TanStack Router for data fetching and navigation
+
+
+## Prerequisites
+
+- Basic knowledge of React and TypeScript.
+- Node.js and `pnpm` installed on your machine
+
+
+## Nice to know
+- [Server Side Rendering (SSR)](https://tanstack.com/router/latest/docs/framework/react/guide/ssr)
+- [TanStack Router concepts](https://tanstack.com/router/latest/docs/framework/react/routing/routing-concepts)
+- [React Query concepts](https://tanstack.com/query/latest/docs/framework/react/overview)
+
+## Setting up a TanStack Start Project
+
+First, let's create a new TanStack Start project:
+
+```bash
+pnpx create-start-app devjokes
+cd devjokes
+```
+
+When this script runs, it will ask you a few setup questions. You can either pick choices that work for you or just press enter to accept the defaults.
+
+Optionally, you can pass in a `--add-on` flag to get options such as Shadcn, Clerk, Convex, TanStack Query, etc.
+
+Once setup is complete, install dependencies and start the development server:
+
+```bash
+pnpm i
+pnpm dev
+```
+
+For this project, we'll need a few additional packages:
+
+```bash
+# Install uuid for generating unique IDs
+pnpm add uuid
+pnpm add -D @types/uuid
+```
+
+## Understanding the project structure
+
+At this point, the project structure should look like this -
+
+```
+/devjokes
+├── src/
+│ ├── routes/
+│ │ ├── __root.tsx # Root layout
+│ │ ├── index.tsx # Home page
+│ │ ├── demo.start.server-funcs.tsx # Demo server functions
+│ │ └── demo.start.api-request.tsx # Demo API request
+│ ├── api/ # API endpoints
+│ ├── components/ # React components
+│ ├── api.ts # API handler.
+│ ├── client.tsx # Client entry point
+│ ├── router.tsx # Router configuration
+│ ├── routeTree.gen.ts # Generated route tree
+│ ├── ssr.tsx # Server-side rendering
+│ └── styles.css # Global styles
+├── public/ # Static assets
+├── app.config.ts # TanStack Start configuration
+├── package.json # Project dependencies
+└── tsconfig.json # TypeScript configuration
+```
+
+This structure might seem overwhelming at first, but here are the key files you need to focus on:
+1. `router.tsx` - Sets up routing for your application
+2. `src/routes/__root.tsx` - The root layout component where you can add global styles and components
+3. `src/routes/index.tsx` - Your home page
+4. `client.tsx` - Client-side entry point
+5. `ssr.tsx` - Handles server-side rendering
+
+
+Once your project is set up, you can access your app at `localhost:3000`. You should see the default TanStack Start welcome page.
+
+At this point, your app will look like this -
+
+
+
+## Step 1: Reading Data From a File
+
+Let's start by creating a file-based storage system for our jokes.
+
+### Step 1.1: Create a JSON File with Jokes
+Let's set up a list of jokes that we can use to render on the page. Create a `data` directory in your project root and a `jokes.json` file within it:
+
+```bash
+mkdir -p src/data
+touch src/data/jokes.json
+```
+
+Now, let's add some sample jokes to this file:
+
+```json
+[
+ {
+ "id": "1",
+ "question": "Why don't keyboards sleep?",
+ "answer": "Because they have two shifts"
+ },
+ {
+ "id": "2",
+ "question": "Are you a RESTful API?",
+ "answer": "Because you GET my attention, PUT some love, POST the cutest smile, and DELETE my bad day"
+ },
+ {
+ "id": "3",
+ "question": "I used to know a joke about Java",
+ "answer": "But I ran out of memory."
+ },
+ {
+ "id": "4",
+ "question": "Why do Front-End Developers eat lunch alone?",
+ "answer": "Because, they don't know how to join tables."
+ },
+ {
+ "id": "5",
+ "question": "I am declaring a war.",
+ "answer": "var war;"
+ }
+]
+```
+
+### Step 1.2: Create Types for Our Data
+Let's create a file to define our data types. Create a new file at `src/types/index.ts`:
+
+```typescript
+// src/types/index.ts
+export interface Joke {
+ id: string;
+ question: string;
+ answer: string;
+}
+
+export type JokesData = Joke[];
+```
+
+ ### Step 1.3: Create Server Functions to Read the File
+
+ Let's create a new file `src/serverActions/jokesActions.ts` to create a server function to perform a read-write operation. We will be creating a server function using [`createServerFn`](https://tanstack.com/start/latest/docs/framework/react/server-functions).
+
+
+```tsx
+// src/serverActions/jokesActions.ts
+
+import { createServerFn } from "@tanstack/react-start";
+import * as fs from "node:fs";
+import type { JokesData } from "../types";
+
+const JOKES_FILE = "src/data/jokes.json";
+
+export const getJokes = createServerFn({ method: "GET" }).handler(async () => {
+ const jokes = await fs.promises.readFile(JOKES_FILE, "utf-8");
+ return JSON.parse(jokes) as JokesData;
+});
+
+```
+
+In this code, we are using `createServerFn` to create a server function that reads the jokes from the JSON file. The `handler` function is where we are using the `fs` module to read the file.
+
+
+### Step 1.4: Consume Server Function on the Client Side
+
+Now to consume this server function, we can simply call it in our code using TanStack Router which already comes with TanStack Start!
+
+Now let's create a new component `JokesList` to render the jokes on the page with a little Tailwind styling sprinkle.
+
+```tsx
+// src/components/JokesList.tsx
+import { Joke } from "../types";
+
+interface JokesListProps {
+ jokes: Joke[];
+}
+
+export function JokesList({ jokes }: JokesListProps) {
+ if (!jokes || jokes.length === 0) {
+ return
No jokes found. Add some!
;
+ }
+
+ return (
+
+
Jokes Collection
+ {jokes.map((joke) => (
+
+
{joke.question}
+
{joke.answer}
+
+ ))}
+
+ );
+}
+```
+
+Now let's call our server function inside `App.jsx` using TanStack Router which already comes with TanStack Start!
+
+```jsx
+// App.jsx
+import { createFileRoute } from "@tanstack/react-router";
+import { getJokes } from "./serverActions/jokesActions";
+import { JokesList } from "./JokesList";
+
+export const Route = createFileRoute("/")({
+ loader: async () => {
+ // Load jokes data when the route is accessed
+ return getJokes();
+ },
+ component: App,
+});
+
+const App = () => {
+ const jokes = Route.useLoaderData() || [];
+
+ return (
+
+
DevJokes
+
+
+ );
+};
+```
+When the page loads, `jokes` will have data from the `jokes.json` file already!
+
+
+With a little Tailwind styling, the app should look like this:
+
+
+
+## Step 2: Writing Data to a File
+
+So far, we have been able to read from the file successfully! We can use the same approach to write to the `jokes.json` file using `createServerFunction`.
+
+### Step 2.1: Create Server Function to Write to the File
+
+It's time to modify the `jokes.json` file so that we can add new jokes to it. Let's create another server function but this time with a `POST` method to write to the same file.
+
+```tsx
+// src/serverActions/jokesActions.ts
+import { createServerFn } from "@tanstack/react-start";
+import * as fs from "node:fs";
+import { v4 as uuidv4 } from 'uuid'; // Add this import
+import type { Joke, JokesData } from "../types";
+
+export const addJoke = createServerFn({ method: "POST" })
+.validator((data: { question: string; answer: string }) => {
+ // Validate input data
+ if (!data.question || !data.question.trim()) {
+ throw new Error("Joke question is required");
+ }
+ if (!data.answer || !data.answer.trim()) {
+ throw new Error("Joke answer is required");
+ }
+ return data;
+ }) .handler(async ({ data }) => {
+ try {
+ // Read the existing jokes from the file
+ const jokesData = await getJokes();
+
+ // Create a new joke with a unique ID
+ const newJoke: Joke = {
+ id: uuidv4(),
+ question: data.question,
+ answer: data.answer,
+ };
+
+ // Add the new joke to the list
+ const updatedJokes = [...jokesData, newJoke];
+
+ // Write the updated jokes back to the file
+ await fs.promises.writeFile(
+ JOKES_FILE,
+ JSON.stringify(updatedJokes, null, 2),
+ "utf-8"
+ );
+
+ return newJoke;
+ } catch (error) {
+ console.error("Failed to add joke:", error);
+ throw new Error("Failed to add joke");
+ }
+ });
+
+```
+
+In this code:
+- We are using `createServerFn` to create server functions that run on the server but can be called from the client. This server function is used to write data to the file.
+- We are going to first use `validator` to validate the input data. This is a good practice to ensure that the data we are receiving is in the correct format.
+- We are going to perform the actual write operation in the `handler` function.
+- `getJokes` reads the jokes from our JSON file.
+- `addJoke` validates the input data and adds a new joke to our file.
+- We're using `uuidv4()` to generate unique IDs for our jokes.
+
+
+### Step 2.2: Adding a Form to Add Jokes to our JSON File
+
+Now, let's modify our home page to display jokes and provide a form to add new ones. Let's create a new component called `JokeForm.jsx` and add the following form to it:
+
+```tsx
+// src/components/JokeForm.tsx
+import { useState } from "react";
+import { useRouter } from "@tanstack/react-router";
+import { addJoke } from "../serverActions/jokesActions";
+
+export function JokeForm() {
+ const router = useRouter();
+ const [question, setQuestion] = useState("");
+ const [answer, setAnswer] = useState("");
+ const [isSubmitting, setIsSubmitting] = useState(false);
+ const [error, setError] = useState(null);
+
+ return (
+
+ );
+}
+
+```
+### Step 2.3: Wire Up the Form to the Server Function
+Now, let's wire the form up to our `addJoke` server function in the `handleSubmit` function. Calling a server action is simple! It's just a function call.
+
+
+```tsx
+//JokeForm.tsx
+import { useState } from "react";
+import { addJoke } from "../serverActions/jokesActions";
+import { useRouter } from "@tanstack/react-router";
+
+export function JokeForm() {
+ const router = useRouter();
+ const [question, setQuestion] = useState("");
+ const [answer, setAnswer] = useState("");
+ const [isSubmitting, setIsSubmitting] = useState(false);
+ const [error, setError] = useState(null);
+
+
+ const handleSubmit = async () => {
+ if (!question || !answer || isSubmitting) return;
+ try {
+ setIsSubmitting(true);
+ await addJoke({
+ data: { question, answer },
+ });
+
+ // Clear form
+ setQuestion("");
+ setAnswer("");
+
+ // Refresh data
+ router.invalidate();
+ } catch (error) {
+ console.error("Failed to add joke:", error);
+ setError("Failed to add joke");
+ } finally {
+ setIsSubmitting(false);
+ }
+ };
+
+ return (
+
+ );
+}
+
+```
+
+With this, our UI should look like this:
+
+
+
+
+## Understanding How It All Works Together
+
+Let's break down how the different parts of our application work together:
+
+1. **Server Functions**: These run on the server and handle data operations
+ - `getJokes`: Reads the jokes from our JSON file
+ - `addJoke`: Adds a new joke to our JSON file
+
+2. **TanStack Router**: Handles routing and data loading
+ - The loader function fetches jokes data when the route is accessed
+ - `useLoaderData` makes this data available in our component
+ - `router.invalidate()` refreshes the data when we add a new joke
+
+3. **React Components**: Build the UI of our application
+ - `JokesList`: Displays the list of jokes
+ - `JokeForm`: Provides a form for adding new jokes
+
+4. **File-Based Storage**: Stores our jokes in a JSON file
+ - Reading and writing are handled by Node.js `fs` module
+ - Data is persisted between server restarts
+
+
+
+## How Data Flows Through the Application
+
+## Data Flow
+
+```mermaid
+sequenceDiagram
+ participant User
+ participant UI as User Interface
+ participant Router as TanStack Router
+ participant ServerAction as Server Actions
+ participant Storage as JSON File Storage
+
+ User->>UI: Visit application
+ UI->>Router: Request route
+ Router->>ServerAction: Load jokes (SSR)
+ ServerAction->>Storage: Read jokes.json
+ Storage->>ServerAction: Return jokes data
+ ServerAction->>Router: Return jokes
+ Router->>UI: Render with data
+ UI->>User: Display jokes
+
+ User->>UI: Submit new joke
+ UI->>ServerAction: Add joke
+ ServerAction->>Storage: Write to jokes.json
+ Storage->>ServerAction: Confirm write
+ ServerAction->>UI: Return success
+ UI->>Router: Invalidate route
+ Router->>ServerAction: Reload jokes
+ ServerAction->>Storage: Read jokes.json
+ Storage->>ServerAction: Return updated jokes
+ ServerAction->>Router: Return updated jokes
+ Router->>UI: Re-render with new data
+ UI->>User: Display updated jokes
+```
+
+When a user visits the home page:
+1. The `loader` function in the route calls `getJokes()` server function
+2. The server reads `jokes.json` and returns the jokes data
+3. This data is passed to the `HomePage` component through `useLoaderData()`
+4. The `HomePage` component passes the data to the `JokesList` component
+
+When a user adds a new joke:
+1. They fill out the form and submit it
+2. The `handleSubmit` function calls the `addJoke()` server function
+3. The server reads the current jokes, adds the new joke, and writes the updated data back to `jokes.json`
+4. After the operation completes, we call `router.invalidate()` to refresh the data
+5. This triggers the loader again, fetching the updated jokes
+6. The UI updates to show the new joke in the list
+
+
+Here's a demo of the app in action:
+
+
+
+
+## Common Issues and Debugging
+
+Here are some common issues you might encounter when building your TanStack Start application and how to resolve them:
+
+### Server Functions Not Working
+
+If your server functions aren't working as expected:
+
+1. Check that you're using the correct HTTP method (`GET`, `POST`, etc.)
+2. Ensure file paths are correct and accessible to the server
+3. Check the server console for error messages
+4. Make sure you're not using client-only APIs in server functions
+
+### Route Data Not Loading
+
+If route data isn't loading properly:
+
+1. Verify that your loader function is properly implemented
+2. Check that you're using `useLoaderData()` correctly
+3. Look for errors in the browser console
+4. Make sure your server function is working correctly
+
+### Form Submission Issues
+
+If form submissions aren't working:
+
+1. Check for validation errors in your server function
+2. Verify that form event prevention (`e.preventDefault()`) is working
+3. Make sure state updates are happening correctly
+4. Look for network errors in the browser's Developer Tools
+
+### File Reading/Writing Issues
+
+When working with file-based storage:
+
+1. Ensure file paths are correct
+2. Check file permissions
+3. Make sure you're handling async operations properly with `await`
+4. Add proper error handling for file operations
+
+## Conclusion
+
+Congratulations! You've built a full-stack DevJokes app using TanStack Start. In this tutorial, you've learned:
+
+- How to set up a TanStack Start project
+- How to implement server functions for data operations
+- How to read and write data to files
+- How to build React components for your UI
+- How to use TanStack Router for routing and data fetching
+
+This simple application demonstrates the power of TanStack Start for building full-stack applications with a minimal amount of code. You can extend this app by adding features like:
+
+- Joke categories
+- Ability to edit and delete jokes
+- User authentication
+- Voting for favorite jokes
+
+The complete code for this tutorial is available on [GitHub](https://github.com/shrutikapoor08/devjokes).
diff --git a/examples/react/basic-ssr-file-based/package.json b/examples/react/basic-ssr-file-based/package.json
index 45bed0887e..305c13acce 100644
--- a/examples/react/basic-ssr-file-based/package.json
+++ b/examples/react/basic-ssr-file-based/package.json
@@ -14,7 +14,7 @@
"@tanstack/react-router": "^1.117.1",
"@tanstack/react-router-devtools": "^1.117.1",
"@tanstack/router-plugin": "^1.117.2",
- "@tanstack/react-start": "^1.117.2",
+ "@tanstack/react-start": "^1.118.0",
"get-port": "^7.1.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/basic-ssr-streaming-file-based/package.json b/examples/react/basic-ssr-streaming-file-based/package.json
index edca01ce8d..2b181d04e7 100644
--- a/examples/react/basic-ssr-streaming-file-based/package.json
+++ b/examples/react/basic-ssr-streaming-file-based/package.json
@@ -14,7 +14,7 @@
"@tanstack/react-router": "^1.117.1",
"@tanstack/react-router-devtools": "^1.117.1",
"@tanstack/router-plugin": "^1.117.2",
- "@tanstack/react-start": "^1.117.2",
+ "@tanstack/react-start": "^1.118.0",
"get-port": "^7.1.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-bare/package.json b/examples/react/start-bare/package.json
index 226d88d26a..47cd469697 100644
--- a/examples/react/start-bare/package.json
+++ b/examples/react/start-bare/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tanstack/react-router": "^1.117.1",
"@tanstack/react-router-devtools": "^1.117.1",
- "@tanstack/react-start": "^1.117.2",
+ "@tanstack/react-start": "^1.118.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"vinxi": "0.5.3",
diff --git a/examples/react/start-basic-auth/package.json b/examples/react/start-basic-auth/package.json
index d7c28163ea..489a75e2c2 100644
--- a/examples/react/start-basic-auth/package.json
+++ b/examples/react/start-basic-auth/package.json
@@ -13,7 +13,7 @@
"@prisma/client": "5.22.0",
"@tanstack/react-router": "^1.117.1",
"@tanstack/react-router-devtools": "^1.117.1",
- "@tanstack/react-start": "^1.117.2",
+ "@tanstack/react-start": "^1.118.0",
"prisma": "^5.22.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-basic-react-query/package.json b/examples/react/start-basic-react-query/package.json
index 2c4e9bbacf..da1f1264a9 100644
--- a/examples/react/start-basic-react-query/package.json
+++ b/examples/react/start-basic-react-query/package.json
@@ -14,7 +14,7 @@
"@tanstack/react-router": "^1.117.1",
"@tanstack/react-router-with-query": "^1.117.1",
"@tanstack/react-router-devtools": "^1.117.1",
- "@tanstack/react-start": "^1.117.2",
+ "@tanstack/react-start": "^1.118.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/start-basic-rsc/package.json b/examples/react/start-basic-rsc/package.json
index 1751ed556e..aadab9a2f1 100644
--- a/examples/react/start-basic-rsc/package.json
+++ b/examples/react/start-basic-rsc/package.json
@@ -12,7 +12,7 @@
"@babel/plugin-syntax-typescript": "^7.25.9",
"@tanstack/react-router": "^1.117.1",
"@tanstack/react-router-devtools": "^1.117.1",
- "@tanstack/react-start": "^1.117.2",
+ "@tanstack/react-start": "^1.118.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/start-basic-static/package.json b/examples/react/start-basic-static/package.json
index ba4e4a58b6..e6630c178b 100644
--- a/examples/react/start-basic-static/package.json
+++ b/examples/react/start-basic-static/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tanstack/react-router": "^1.117.1",
"@tanstack/react-router-devtools": "^1.117.1",
- "@tanstack/react-start": "^1.117.2",
+ "@tanstack/react-start": "^1.118.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/start-basic/package.json b/examples/react/start-basic/package.json
index 48b9e0be7b..493d8ac033 100644
--- a/examples/react/start-basic/package.json
+++ b/examples/react/start-basic/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tanstack/react-router": "^1.117.1",
"@tanstack/react-router-devtools": "^1.117.1",
- "@tanstack/react-start": "^1.117.2",
+ "@tanstack/react-start": "^1.118.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tailwind-merge": "^2.6.0",
diff --git a/examples/react/start-clerk-basic/package.json b/examples/react/start-clerk-basic/package.json
index ee6fb8057b..0f9015216f 100644
--- a/examples/react/start-clerk-basic/package.json
+++ b/examples/react/start-clerk-basic/package.json
@@ -12,7 +12,7 @@
"@clerk/tanstack-react-start": "0.12.0",
"@tanstack/react-router": "^1.117.1",
"@tanstack/react-router-devtools": "^1.117.1",
- "@tanstack/react-start": "^1.117.2",
+ "@tanstack/react-start": "^1.118.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/start-convex-trellaux/package.json b/examples/react/start-convex-trellaux/package.json
index 111357005e..2ce1727c39 100644
--- a/examples/react/start-convex-trellaux/package.json
+++ b/examples/react/start-convex-trellaux/package.json
@@ -17,7 +17,7 @@
"@tanstack/react-router": "^1.117.1",
"@tanstack/react-router-with-query": "^1.117.1",
"@tanstack/react-router-devtools": "^1.117.1",
- "@tanstack/react-start": "^1.117.2",
+ "@tanstack/react-start": "^1.118.0",
"concurrently": "^8.2.2",
"convex": "^1.19.0",
"ky": "^1.7.4",
diff --git a/examples/react/start-counter/package.json b/examples/react/start-counter/package.json
index 6df505aea2..a42cb5340c 100644
--- a/examples/react/start-counter/package.json
+++ b/examples/react/start-counter/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tanstack/react-router": "^1.117.1",
"@tanstack/react-router-devtools": "^1.117.1",
- "@tanstack/react-start": "^1.117.2",
+ "@tanstack/react-start": "^1.118.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"vinxi": "0.5.3"
diff --git a/examples/react/start-large/package.json b/examples/react/start-large/package.json
index 704dd9ebc5..300da1fbac 100644
--- a/examples/react/start-large/package.json
+++ b/examples/react/start-large/package.json
@@ -14,7 +14,7 @@
"@tanstack/react-query": "^5.66.0",
"@tanstack/react-router": "^1.117.1",
"@tanstack/react-router-devtools": "^1.117.1",
- "@tanstack/react-start": "^1.117.2",
+ "@tanstack/react-start": "^1.118.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
diff --git a/examples/react/start-material-ui/package.json b/examples/react/start-material-ui/package.json
index d06adef0a5..f119c6acd3 100644
--- a/examples/react/start-material-ui/package.json
+++ b/examples/react/start-material-ui/package.json
@@ -15,7 +15,7 @@
"@fontsource-variable/roboto": "5.2.5",
"@mui/material": "6.4.7",
"@tanstack/react-router": "^1.117.1",
- "@tanstack/react-start": "^1.117.2",
+ "@tanstack/react-start": "^1.118.0",
"@tanstack/react-router-devtools": "^1.117.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
diff --git a/examples/react/start-supabase-basic/package.json b/examples/react/start-supabase-basic/package.json
index 70d0e8bb6c..713751629b 100644
--- a/examples/react/start-supabase-basic/package.json
+++ b/examples/react/start-supabase-basic/package.json
@@ -17,7 +17,7 @@
"@supabase/supabase-js": "^2.48.1",
"@tanstack/react-router": "^1.117.1",
"@tanstack/react-router-devtools": "^1.117.1",
- "@tanstack/react-start": "^1.117.2",
+ "@tanstack/react-start": "^1.118.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"vinxi": "0.5.3"
diff --git a/examples/react/start-trellaux/package.json b/examples/react/start-trellaux/package.json
index b9296387e3..cc32fc4aeb 100644
--- a/examples/react/start-trellaux/package.json
+++ b/examples/react/start-trellaux/package.json
@@ -14,7 +14,7 @@
"@tanstack/react-router": "^1.117.1",
"@tanstack/react-router-with-query": "^1.117.1",
"@tanstack/react-router-devtools": "^1.117.1",
- "@tanstack/react-start": "^1.117.2",
+ "@tanstack/react-start": "^1.118.0",
"ky": "^1.7.4",
"msw": "^2.7.0",
"react": "^19.0.0",
diff --git a/examples/react/start-workos/package.json b/examples/react/start-workos/package.json
index 50b527714f..5080fe6cf0 100644
--- a/examples/react/start-workos/package.json
+++ b/examples/react/start-workos/package.json
@@ -16,7 +16,7 @@
"@radix-ui/themes": "^3.2.1",
"@tanstack/react-router": "^1.117.1",
"@tanstack/react-router-devtools": "^1.117.1",
- "@tanstack/react-start": "^1.117.2",
+ "@tanstack/react-start": "^1.118.0",
"@workos-inc/node": "^7.45.0",
"iron-session": "^8.0.4",
"jose": "^6.0.10",
diff --git a/examples/react/with-trpc-react-query/package.json b/examples/react/with-trpc-react-query/package.json
index fca72addc1..bd50b94d6d 100644
--- a/examples/react/with-trpc-react-query/package.json
+++ b/examples/react/with-trpc-react-query/package.json
@@ -13,7 +13,7 @@
"@tanstack/react-router": "^1.117.1",
"@tanstack/react-router-devtools": "^1.117.1",
"@tanstack/router-plugin": "^1.117.2",
- "@tanstack/react-start": "^1.117.2",
+ "@tanstack/react-start": "^1.118.0",
"@trpc/client": "11.0.0-rc.772",
"@trpc/server": "11.0.0-rc.772",
"@trpc/tanstack-react-query": "11.0.0-rc.772",
diff --git a/examples/react/with-trpc/package.json b/examples/react/with-trpc/package.json
index 2154f97697..10939dfcc5 100644
--- a/examples/react/with-trpc/package.json
+++ b/examples/react/with-trpc/package.json
@@ -11,7 +11,7 @@
"@tanstack/react-router": "^1.117.1",
"@tanstack/react-router-devtools": "^1.117.1",
"@tanstack/router-plugin": "^1.117.2",
- "@tanstack/react-start": "^1.117.2",
+ "@tanstack/react-start": "^1.118.0",
"@trpc/client": "11.0.0-rc.772",
"@trpc/server": "11.0.0-rc.772",
"react": "^19.0.0",
diff --git a/examples/solid/start-bare/package.json b/examples/solid/start-bare/package.json
index 2e6ace2e19..c16f9cd6cf 100644
--- a/examples/solid/start-bare/package.json
+++ b/examples/solid/start-bare/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.117.1",
"@tanstack/solid-router-devtools": "^1.117.1",
- "@tanstack/solid-start": "^1.117.2",
+ "@tanstack/solid-start": "^1.118.0",
"solid-js": "^1.9.5",
"redaxios": "^0.5.1",
"tailwind-merge": "^2.6.0",
diff --git a/examples/solid/start-basic/package.json b/examples/solid/start-basic/package.json
index b5024ab46d..eb7b6c61e7 100644
--- a/examples/solid/start-basic/package.json
+++ b/examples/solid/start-basic/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@tanstack/solid-router": "^1.117.1",
"@tanstack/solid-router-devtools": "^1.117.1",
- "@tanstack/solid-start": "^1.117.2",
+ "@tanstack/solid-start": "^1.118.0",
"solid-js": "^1.9.5",
"redaxios": "^0.5.1",
"tailwind-merge": "^2.6.0",
diff --git a/packages/react-start-config/package.json b/packages/react-start-config/package.json
index 739ad501ec..e3d4732f43 100644
--- a/packages/react-start-config/package.json
+++ b/packages/react-start-config/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start-config",
- "version": "1.117.2",
+ "version": "1.118.0",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/react-start/package.json b/packages/react-start/package.json
index 3639055300..62ee90e6cc 100644
--- a/packages/react-start/package.json
+++ b/packages/react-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-start",
- "version": "1.117.2",
+ "version": "1.118.0",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-start-config/package.json b/packages/solid-start-config/package.json
index 04c3fbe1ca..a192d15573 100644
--- a/packages/solid-start-config/package.json
+++ b/packages/solid-start-config/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start-config",
- "version": "1.117.2",
+ "version": "1.118.0",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/solid-start/package.json b/packages/solid-start/package.json
index 06041a588d..3a0f932b3f 100644
--- a/packages/solid-start/package.json
+++ b/packages/solid-start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-start",
- "version": "1.117.2",
+ "version": "1.118.0",
"description": "Modern and scalable routing for Solid applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/start-config/package.json b/packages/start-config/package.json
index 690e4ce398..f4bb45ba0d 100644
--- a/packages/start-config/package.json
+++ b/packages/start-config/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/start-config",
- "version": "1.117.2",
+ "version": "1.118.0",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",
diff --git a/packages/start/package.json b/packages/start/package.json
index 4abfee9662..a3dc0fdf08 100644
--- a/packages/start/package.json
+++ b/packages/start/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/start",
- "version": "1.117.2",
+ "version": "1.118.0",
"description": "Modern and scalable routing for React applications",
"author": "Tanner Linsley",
"license": "MIT",