@tanstack/react-router 0.0.1-beta.67 → 0.0.1-beta.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,31 +7,31 @@
7
7
  "name": "index.production.js",
8
8
  "children": [
9
9
  {
10
- "uid": "a145-103",
10
+ "uid": "b9e9-103",
11
11
  "name": "\u0000rollupPluginBabelHelpers.js"
12
12
  },
13
13
  {
14
14
  "name": "node_modules/.pnpm/tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js",
15
- "uid": "a145-105"
15
+ "uid": "b9e9-105"
16
16
  },
17
17
  {
18
18
  "name": "packages",
19
19
  "children": [
20
20
  {
21
21
  "name": "store/build/esm/index.js",
22
- "uid": "a145-107"
22
+ "uid": "b9e9-107"
23
23
  },
24
24
  {
25
25
  "name": "router/build/esm/index.js",
26
- "uid": "a145-109"
26
+ "uid": "b9e9-109"
27
27
  },
28
28
  {
29
29
  "name": "react-store/build/esm/index.js",
30
- "uid": "a145-111"
30
+ "uid": "b9e9-111"
31
31
  },
32
32
  {
33
33
  "name": "react-router/src/index.tsx",
34
- "uid": "a145-113"
34
+ "uid": "b9e9-113"
35
35
  }
36
36
  ]
37
37
  }
@@ -41,155 +41,155 @@
41
41
  "isRoot": true
42
42
  },
43
43
  "nodeParts": {
44
- "a145-103": {
44
+ "b9e9-103": {
45
45
  "renderedLength": 429,
46
46
  "gzipLength": 238,
47
47
  "brotliLength": 0,
48
- "mainUid": "a145-102"
48
+ "mainUid": "b9e9-102"
49
49
  },
50
- "a145-105": {
50
+ "b9e9-105": {
51
51
  "renderedLength": 181,
52
52
  "gzipLength": 129,
53
53
  "brotliLength": 0,
54
- "mainUid": "a145-104"
54
+ "mainUid": "b9e9-104"
55
55
  },
56
- "a145-107": {
56
+ "b9e9-107": {
57
57
  "renderedLength": 1288,
58
58
  "gzipLength": 497,
59
59
  "brotliLength": 0,
60
- "mainUid": "a145-106"
60
+ "mainUid": "b9e9-106"
61
61
  },
62
- "a145-109": {
62
+ "b9e9-109": {
63
63
  "renderedLength": 45412,
64
64
  "gzipLength": 10895,
65
65
  "brotliLength": 0,
66
- "mainUid": "a145-108"
66
+ "mainUid": "b9e9-108"
67
67
  },
68
- "a145-111": {
68
+ "b9e9-111": {
69
69
  "renderedLength": 1571,
70
70
  "gzipLength": 594,
71
71
  "brotliLength": 0,
72
- "mainUid": "a145-110"
72
+ "mainUid": "b9e9-110"
73
73
  },
74
- "a145-113": {
75
- "renderedLength": 12077,
76
- "gzipLength": 3154,
74
+ "b9e9-113": {
75
+ "renderedLength": 12145,
76
+ "gzipLength": 3162,
77
77
  "brotliLength": 0,
78
- "mainUid": "a145-112"
78
+ "mainUid": "b9e9-112"
79
79
  }
80
80
  },
81
81
  "nodeMetas": {
82
- "a145-102": {
82
+ "b9e9-102": {
83
83
  "id": "\u0000rollupPluginBabelHelpers.js",
84
84
  "moduleParts": {
85
- "index.production.js": "a145-103"
85
+ "index.production.js": "b9e9-103"
86
86
  },
87
87
  "imported": [],
88
88
  "importedBy": [
89
89
  {
90
- "uid": "a145-112"
90
+ "uid": "b9e9-112"
91
91
  }
92
92
  ]
93
93
  },
94
- "a145-104": {
94
+ "b9e9-104": {
95
95
  "id": "/node_modules/.pnpm/tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js",
96
96
  "moduleParts": {
97
- "index.production.js": "a145-105"
97
+ "index.production.js": "b9e9-105"
98
98
  },
99
99
  "imported": [],
100
100
  "importedBy": [
101
101
  {
102
- "uid": "a145-108"
102
+ "uid": "b9e9-108"
103
103
  }
104
104
  ]
105
105
  },
106
- "a145-106": {
106
+ "b9e9-106": {
107
107
  "id": "/packages/store/build/esm/index.js",
108
108
  "moduleParts": {
109
- "index.production.js": "a145-107"
109
+ "index.production.js": "b9e9-107"
110
110
  },
111
111
  "imported": [],
112
112
  "importedBy": [
113
113
  {
114
- "uid": "a145-108"
114
+ "uid": "b9e9-108"
115
115
  }
116
116
  ]
117
117
  },
118
- "a145-108": {
118
+ "b9e9-108": {
119
119
  "id": "/packages/router/build/esm/index.js",
120
120
  "moduleParts": {
121
- "index.production.js": "a145-109"
121
+ "index.production.js": "b9e9-109"
122
122
  },
123
123
  "imported": [
124
124
  {
125
- "uid": "a145-104"
125
+ "uid": "b9e9-104"
126
126
  },
127
127
  {
128
- "uid": "a145-106"
128
+ "uid": "b9e9-106"
129
129
  }
130
130
  ],
131
131
  "importedBy": [
132
132
  {
133
- "uid": "a145-112"
133
+ "uid": "b9e9-112"
134
134
  }
135
135
  ]
136
136
  },
137
- "a145-110": {
137
+ "b9e9-110": {
138
138
  "id": "/packages/react-store/build/esm/index.js",
139
139
  "moduleParts": {
140
- "index.production.js": "a145-111"
140
+ "index.production.js": "b9e9-111"
141
141
  },
142
142
  "imported": [
143
143
  {
144
- "uid": "a145-115"
144
+ "uid": "b9e9-115"
145
145
  }
146
146
  ],
147
147
  "importedBy": [
148
148
  {
149
- "uid": "a145-112"
149
+ "uid": "b9e9-112"
150
150
  }
151
151
  ]
152
152
  },
153
- "a145-112": {
153
+ "b9e9-112": {
154
154
  "id": "/packages/react-router/src/index.tsx",
155
155
  "moduleParts": {
156
- "index.production.js": "a145-113"
156
+ "index.production.js": "b9e9-113"
157
157
  },
158
158
  "imported": [
159
159
  {
160
- "uid": "a145-102"
160
+ "uid": "b9e9-102"
161
161
  },
162
162
  {
163
- "uid": "a145-114"
163
+ "uid": "b9e9-114"
164
164
  },
165
165
  {
166
- "uid": "a145-108"
166
+ "uid": "b9e9-108"
167
167
  },
168
168
  {
169
- "uid": "a145-110"
169
+ "uid": "b9e9-110"
170
170
  }
171
171
  ],
172
172
  "importedBy": [],
173
173
  "isEntry": true
174
174
  },
175
- "a145-114": {
175
+ "b9e9-114": {
176
176
  "id": "react",
177
177
  "moduleParts": {},
178
178
  "imported": [],
179
179
  "importedBy": [
180
180
  {
181
- "uid": "a145-112"
181
+ "uid": "b9e9-112"
182
182
  }
183
183
  ],
184
184
  "isExternal": true
185
185
  },
186
- "a145-115": {
186
+ "b9e9-115": {
187
187
  "id": "use-sync-external-store/shim/with-selector",
188
188
  "moduleParts": {},
189
189
  "imported": [],
190
190
  "importedBy": [
191
191
  {
192
- "uid": "a145-110"
192
+ "uid": "b9e9-110"
193
193
  }
194
194
  ],
195
195
  "isExternal": true
@@ -1862,16 +1862,16 @@
1862
1862
  }
1863
1863
  function useNavigate(defaultOpts) {
1864
1864
  const router = useRouterContext();
1865
- return opts => {
1865
+ return React__namespace.useCallback(opts => {
1866
1866
  return router.navigate({
1867
1867
  ...defaultOpts,
1868
1868
  ...opts
1869
1869
  });
1870
- };
1870
+ }, []);
1871
1871
  }
1872
1872
  function useMatchRoute() {
1873
1873
  const router = useRouterContext();
1874
- return opts => {
1874
+ return React__namespace.useCallback(opts => {
1875
1875
  const {
1876
1876
  pending,
1877
1877
  caseSensitive,
@@ -1881,7 +1881,7 @@
1881
1881
  pending,
1882
1882
  caseSensitive
1883
1883
  });
1884
- };
1884
+ }, []);
1885
1885
  }
1886
1886
  function MatchRoute(props) {
1887
1887
  const matchRoute = useMatchRoute();