[docs] Outdated ISR guide?
Which project does this relate to?
Start
Describe the bug
I tried to implement ISG following the ISG guide, and it refers to prerender.routes option in tanstackStart() all the time:
import { tanstackStart } from '@tanstack/react-start/plugin/vite'
import { defineConfig } from 'vite'
export default defineConfig({
plugins: [
tanstackStart({
prerender: {
routes: ['/blog', '/blog/posts/*'],
crawlLinks: true,
},
}),
],
})
This seems wrong, because prerender schema doesn't have a routes field:
https://github.com/TanStack/router/blob/689d88e04c48ec76a18453ab8b82d8d58f2668b6/packages/start-plugin-core/src/schema.ts#L270-L284
Should the ISG guide document the prerender.filter option instead?
Complete minimal reproducer
https://tanstack.com/start/latest/docs/framework/react/guide/isr
Steps to Reproduce the Bug
Check out the ISG Guide
Expected behavior
Correct configuration is documented
Screenshots or Videos
No response
Platform
N/A
Additional context
No response
Bean Labs took a public-source pass on this issue.
The narrowest useful next step looks like: verify current ISR docs against implementation
Public evidence checked:
- docs/
- README.md
A good acceptance check would be a docs diff that changes only the affected wording/link and renders without stale references.
No PR opened from this pass.
Opened #7624 — replaces the non-existent prerender.routes with the supported pages array + prerender.crawlLinks (matching the Static Prerendering guide and start-plugin-core schema), across all four code samples in the ISR guide.