@@ -15,52 +15,51 @@ Feature/Capability Key:
15
15
- 🔶 Possible, but requires custom code/implementation/casting
16
16
- 🛑 Not officially supported
17
17
18
- | | TanStack Router | React Router DOM [ _ (Website)_ ] [ react-router ] |
19
- | ---------------------------------------------- | ---------------------------------------------- | ----------------------------------------------------- |
20
- | Github Repo / Stars | [ ![ ] [ stars-tanstack-router ]] [ gh-tanstack-router ] | [ ![ ] [ stars-react-router ]] [ gh-react-router ] |
21
- | Bundle Size | [ ![ ] [ bp-tanstack-router ]] [ bpl-tanstack-router ] | [ ![ ] [ bp-react-router ]] [ bpl-react-router ] |
22
- | History, Memory & Hash Routers | ✅ | ✅ |
23
- | Nested / Layout Routes | ✅ | ✅ |
24
- | Suspense-like Route Transitions | ✅ | ✅ |
25
- | Typesafe Route Configurations | ✅ | 🛑 |
26
- | Loaders | ✅ | ✅ |
27
- | Typesafe Loaders | ✅ | 🔶 |
28
- | Loader Caching (SWR + Invalidation) | ✅ | 🛑 |
29
- | Actions | ✅ | ✅ |
30
- | Typesafe Actions | ✅ | 🔶 |
31
- | Route Prefetching | ✅ | ✅ |
32
- | Auto Route Prefetching | ✅ | 🛑 |
33
- | Route Prefetching Delay | ✅ | 🔶 |
34
- | Path Params | ✅ | ✅ |
35
- | Typesafe Path Params | ✅ | 🛑 |
36
- | Path Param Validation | ✅ | 🛑 |
37
- | Custom Path Param Parsing/Serialization | ✅ | 🛑 |
38
- | Code-Splitting | ✅ | ✅ |
39
- | Ranked Routes | 🟢 | ✅ |
40
- | Active Link Customization | ✅ | ✅ |
41
- | Ephemeral Optimistic UI | ✅ | ✅ |
42
- | Typesafe Absolute + Relative Navigation | ✅ | 🛑 |
43
- | Route Mount/Transition/Unmount Events | ✅ | 🛑 |
44
- | Official Devtools | 🟢 | 🛑 |
45
- | Basic Search Params | ✅ | ✅ |
46
- | Search Param Hooks | ✅ | ✅ |
47
- | ` <Link/> ` /` useNavigate ` Search Param API | ✅ | 🟡 (search-string only via the ` to ` /` search ` options) |
48
- | JSON Search Params | ✅ | 🔶 |
49
- | TypeSafe Search Params | ✅ | 🛑 |
50
- | Search Param Schema Validation | ✅ | 🛑 |
51
- | Search Param Immutability + Structural Sharing | ✅ | 🛑 |
52
- | Custom Search Param parsing/serialization | ✅ | 🔶 |
53
- | Hierarchical Search Param Transforms | ✅ | 🛑 |
54
- | Async Route Elements | ✅ | 🛑 |
55
- | Suspense Route Elements | ✅ | ✅ |
56
- | Route Error Elements | ✅ | ✅ |
57
- | Route Pending Elements | ✅ | 🛑 |
58
- | Pending Timing (delay, min-show) | ✅ | 🛑 |
59
- | ` <Prompt> ` /` usePrompt ` | ✅ | 🔶 |
60
- | SSR | 🛑 (Coming Soon) | ✅ |
61
- | Navigation Scroll Restoration | 🛑 (Coming Soon) | ✅ |
62
- | Deferred Loader Streaming | 🛑 (Coming Soon) | ✅ |
63
- | ` <Form> ` API | 🛑 | ✅ |
18
+ | | TanStack Router | React Router DOM [ _ (Website)_ ] [ react-router ] |
19
+ | ---------------------------------------------- | ------------------------------------------------ | ----------------------------------------------------- |
20
+ | Github Repo / Stars | [ ![ ] [ stars-tanstack-router ]] [ gh-tanstack-router ] | [ ![ ] [ stars-react-router ]] [ gh-react-router ] |
21
+ | Bundle Size | [ ![ ] [ bp-tanstack-router ]] [ bpl-tanstack-router ] | [ ![ ] [ bp-react-router ]] [ bpl-react-router ] |
22
+ | History, Memory & Hash Routers | ✅ | ✅ |
23
+ | Nested / Layout Routes | ✅ | ✅ |
24
+ | Suspense-like Route Transitions | ✅ | ✅ |
25
+ | Typesafe Route Configurations | ✅ | 🛑 |
26
+ | Loaders | ✅ | ✅ |
27
+ | Typesafe Loaders | ✅ | 🔶 |
28
+ | Loader Caching (SWR + Invalidation) | ✅ | 🛑 |
29
+ | Actions | ✅ | ✅ |
30
+ | Typesafe Actions | ✅ | 🔶 |
31
+ | Route Prefetching | ✅ | ✅ |
32
+ | Auto Route Prefetching | ✅ | 🛑 |
33
+ | Route Prefetching Delay | ✅ | 🔶 |
34
+ | Path Params | ✅ | ✅ |
35
+ | Typesafe Path Params | ✅ | 🛑 |
36
+ | Path Param Validation | ✅ | 🛑 |
37
+ | Custom Path Param Parsing/Serialization | ✅ | 🛑 |
38
+ | Code-Splitting | ✅ | ✅ |
39
+ | Ranked Routes | 🟢 | ✅ |
40
+ | Active Link Customization | ✅ | ✅ |
41
+ | Ephemeral Optimistic UI | ✅ | ✅ |
42
+ | Typesafe Absolute + Relative Navigation | ✅ | 🛑 |
43
+ | Route Mount/Transition/Unmount Events | ✅ | 🛑 |
44
+ | Official Devtools | 🟢 | 🛑 |
45
+ | Basic Search Params | ✅ | ✅ |
46
+ | Search Param Hooks | ✅ | ✅ |
47
+ | ` <Link/> ` /` useNavigate ` Search Param API | ✅ | 🟡 (search-string only via the ` to ` /` search ` options) |
48
+ | JSON Search Params | ✅ | 🔶 |
49
+ | TypeSafe Search Params | ✅ | 🛑 |
50
+ | Search Param Schema Validation | ✅ | 🛑 |
51
+ | Search Param Immutability + Structural Sharing | ✅ | 🛑 |
52
+ | Custom Search Param parsing/serialization | ✅ | 🔶 |
53
+ | Hierarchical Search Param Transforms | ✅ | 🛑 |
54
+ | Async Route Elements | ✅ | 🛑 |
55
+ | Suspense Route Elements | ✅ | ✅ |
56
+ | Route Error Elements | ✅ | ✅ |
57
+ | Route Pending Elements | ✅ | 🛑 |
58
+ | ` <Prompt> ` /` usePrompt ` | ✅ | 🔶 |
59
+ | SSR | 🛑 (Coming Soon) | ✅ |
60
+ | Navigation Scroll Restoration | 🛑 (Coming Soon) | ✅ |
61
+ | Deferred Loader Streaming | 🛑 (Coming Soon) | ✅ |
62
+ | ` <Form> ` API | 🛑 | ✅ |
64
63
65
64
[ bp-tanstack-router ] : https://badgen.net/bundlephobia/minzip/@tanstack/react-router@alpha?label=💾
66
65
[ bpl-tanstack-router ] : https://bundlephobia.com/result?p=@tanstack/react-router@alpha
0 commit comments