diff --git a/.gitignore b/.gitignore
index 989b4a84ab..3282b95de2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,7 +18,6 @@ artifacts
.rpt2_cache
coverage
*.tgz
-**/*app.config.*
# tests
packages/router-generator/tests/**/*.gen.ts
diff --git a/docs/framework/react/guide/data-loading.md b/docs/framework/react/guide/data-loading.md
index 4a1b037274..04f7f25b2f 100644
--- a/docs/framework/react/guide/data-loading.md
+++ b/docs/framework/react/guide/data-loading.md
@@ -294,10 +294,10 @@ import { createFileRoute } from '@tanstack/react-router'
export const Route = createFileRoute('/posts')({
// Pass the fetchPosts function to the route context
beforeLoad: () => ({
- fetchPosts: () => console.log('foo'),
+ fetchPosts: () => console.info('foo'),
}),
loader: ({ context: { fetchPosts } }) => {
- console.log(fetchPosts()) // 'foo'
+ console.info(fetchPosts()) // 'foo'
// ...
},
diff --git a/docs/framework/react/guide/external-data-loading.md b/docs/framework/react/guide/external-data-loading.md
index bb61eb4598..c98467cfdd 100644
--- a/docs/framework/react/guide/external-data-loading.md
+++ b/docs/framework/react/guide/external-data-loading.md
@@ -166,8 +166,8 @@ export function createRouter() {
context: {
queryClient,
},
- // On the server, dehydrate the loader client and return it
- // to the router to get injected into ``
+ // On the server, dehydrate the loader client so the router
+ // can serialize it and send it to the client for us
dehydrate: () => {
return {
queryClientState: dehydrate(queryClient),
diff --git a/docs/framework/react/guide/navigation.md b/docs/framework/react/guide/navigation.md
index 484e742ec0..a493604ccf 100644
--- a/docs/framework/react/guide/navigation.md
+++ b/docs/framework/react/guide/navigation.md
@@ -469,7 +469,7 @@ function Component() {
useEffect(() => {
if (matchRoute({ to: '/users', pending: true })) {
- console.log('The /users route is matched and pending')
+ console.info('The /users route is matched and pending')
}
})
diff --git a/docs/framework/react/guide/ssr.md b/docs/framework/react/guide/ssr.md
index 0bfa9d7805..8ffbbfc812 100644
--- a/docs/framework/react/guide/ssr.md
+++ b/docs/framework/react/guide/ssr.md
@@ -27,9 +27,6 @@ To implement non-streaming SSR with TanStack Router, you will need the following
- `StartClient` from `@tanstack/start`
- e.g. ``
- Rendering this component in your client entry will render your application and also automatically implement the `Wrap` component option on `Router`
-- `DehydrateRouter` from `@tanstack/start`
- - e.g. ``
- - Render this component **inside your application** to embed the router's dehydrated data into the application.
### Router Creation
@@ -117,29 +114,6 @@ Resolved loader data fetched by routes is automatically dehydrated and rehydrate
For more information on how to utilize data loading and data streaming, see the [Data Loading](../data-loading) and [Data Streaming](../data-streaming) guides.
-### Dehydrating the Router
-
-**SSR would be a waste of time without access to all of the precious data you just fetched on the server!** One of the last steps to prepping your app for SSR is to dehydrate your application data into the markup on the server.
-
-To do this, render the `` component somewhere inside your Root component. `` will render a `