Skip to content
Source
Sign inSign up
TanStack/router

refactor(router-core): Process routeTree into segment tree instead of flatRoutes #5722

MergedSheraff(GitHub profile, opens in a new tab)merged 114 commits intomain fromrefs/pull/5722/headmerged by Sheraff(GitHub profile, opens in a new tab)

Showing 30 changed files with 4 additions and 7 deletions (loading 27).

x
0 of 30 viewed, 30 left
3 additions and 2 deletionsdocs/router/framework/react/api/router/MatchRouteOptionsType.mdModified
View file
@@ -8,7 +8,7 @@
```tsx
interface MatchRouteOptions {
pending?: boolean
- caseSensitive?: boolean
+ caseSensitive?: boolean /* @deprecated */
includeSearch?: boolean
fuzzy?: boolean
@@ -24,11 +24,12 @@
- Optional
- If `true`, will match against pending location instead of the current location
​
-### `caseSensitive` property
+### ~~`caseSensitive`~~ property (deprecated)
​
- Type: `boolean`
- Optional
- If `true`, will match against the current location with case sensitivity
+- Declare case sensitivity in the route definition instead, or globally for all routes using the `caseSensitive` option on the router
​
### `includeSearch` property
​