Skip to content
Source
Sign inSign up
TanStack/router

fix(router): prevent script tag duplication in SSR and client-side navigation #5095

Mergedhyungwookchoi(GitHub profile, opens in a new tab)merged 9 commits intomain fromrefs/pull/5095/headmerged by schiller-manuel(GitHub profile, opens in a new tab)

Showing 12 changed files with 37 additions and 1 deletion (loading 7).

x
0 of 12 viewed, 12 left
e2e/react-start/basic/src/routeTree.gen.tsModified
View file
8 additions and 0 deletionse2e/react-start/basic/src/routes/__root.tsxModified
View file
@@ -142,6 +142,14 @@
Scripts
</Link>{' '}
<Link
+ to="/inline-scripts"
+ activeProps={{
+ className: 'font-bold',
+ }}
+ >
+ Inline Scripts
+ </Link>{' '}
+ <Link
to="/deferred"
activeProps={{
className: 'font-bold',
28 additions and 0 deletionse2e/react-start/basic/src/routes/inline-scripts.tsxAdded
View file
@@ -0,0 +1,28 @@