Skip to content

Commit e7027ac

Browse files
feat(react-router): set v7_startTransition feature to true by default
1 parent bc63725 commit e7027ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function ViteReactSSG(
2828
const isClient = typeof window !== 'undefined'
2929

3030
const BASE_URL = routerOptions.basename ?? '/'
31-
const { v7_startTransition, ...routerFeature } = routerOptions.future ?? {}
31+
const { v7_startTransition = true, ...routerFeature } = routerOptions.future ?? {}
3232

3333
async function createRoot(client = false, routePath?: string) {
3434
const browserRouter = client

0 commit comments

Comments
 (0)