Sean Cassiere
bf26037663
docs: new doc page on the dx design decisions ( #1225 )
...
* chore: initial set up to display the new docs page
* docs: introduction to the dx doc
* docs: how its done to the dx doc
* docs: rework the intro for the dx doc
* docs: some gramatical fixes
* docs: checkpoint
* docs: two big parts are done
* docs: some cleanup
* docs: the spacing stuff
* docs: more cleanup
* docs: ...
* docs: code-based routing section
* docs: file-based routing section
* docs: rename doc to "Decisions on DX"
* docs: add a TLDR since people are people and wont read all of this
2024-02-26 04:20:46 -07:00
Tanner Linsley
ab89c815b2
release: v1.17.4
v1.17.4
2024-02-25 22:45:18 +00:00
Manuel Schiller
d165151271
fix: avoid "Type instantiation is excessively deep and possibly infinite" error with useSearch(strict: false, experimental_returnIntersection: true) ( #1224 )
2024-02-25 23:44:16 +01:00
Tanner Linsley
d5d9895346
release: v1.17.3
v1.17.3
2024-02-25 22:25:57 +00:00
Christopher Horobin
4c62fbc615
fix: improve typescript performance for Link and useNavigate absolute paths ( #1202 )
...
- SplitPaths seems to be hugely expensive as it splits all paths
- UseNavigate was defaulting TFrom and TDefaultFrom to all paths but it was always a
union of string | RoutePaths. Defaulting this to string and not constraining it to
all paths limits the possibility over distributing over such a huge union and auto complete
can be kept intact by using TDefaultFrom | RoutePaths<TRouteTree> | (string & {})
2024-02-25 23:23:42 +01:00
Tanner Linsley
99650d7646
release: v1.17.2
v1.17.2
2024-02-25 20:54:11 +00:00
Nikola Hristov
0fab06123b
fix: replace JSX.Element with React.ReactNode for children-like props ( #1221 )
2024-02-25 21:52:00 +01:00
Tanner Linsley
2954840663
release: v1.17.1
v1.17.1
2024-02-25 06:50:24 +00:00
Tanner Linsley
c1b2b673ab
fix: devtools for SSR
2024-02-24 23:48:20 -07:00
Tanner Linsley
eb098cceff
release: v1.17.0
v1.17.0
2024-02-25 03:59:24 +00:00
Aryan Deora
4875992599
feat(router-devtools): New UI Horizontal Upgrade ( #1222 )
...
* devtools init
* Add routes layout
* Transition to goober part 1
* Remove styled components
* Completed devtools
* Reset kitchen sink example
2024-02-24 20:58:16 -07:00
Joseph Harkins
240121ad22
docs: Fix navigation.md typo ( #1200 )
2024-02-23 23:20:59 +01:00
Rustam Musin
bcb97411ed
examples: Add a missing space in header of basic-react-query-file-based example ( #1211 )
2024-02-23 23:13:34 +01:00
Rustam Musin
188b2da35a
docs: Fix formatting in Data Loading guide ( #1214 )
2024-02-23 23:13:10 +01:00
Tanner Linsley
249e41e2af
release: v1.16.6
v1.16.6
2024-02-18 13:11:04 +00:00
Manuel Schiller
a819b460d9
fix: revert removal of router.invalidate functionality ( #1195 )
2024-02-18 14:10:02 +01:00
Lachlan Collins
b5e85add20
ci: Use Nx Agents ( #1192 )
...
* ci: Use Nx Agents
* Update nx.json
* Fix prettier
2024-02-17 12:03:04 +11:00
Manuel Schiller
965485e255
chore: use createLazyFileRoute instead of lazyRouteComponent in file-based routing examples
2024-02-17 01:11:13 +01:00
Tanner Linsley
0d7722fbd4
release: v1.16.5
v1.16.5
2024-02-16 22:40:37 +00:00
Tanner Linsley
8c6de040c1
fix: better error, not found and redirect propagation
2024-02-16 15:37:48 -07:00
Tanner Linsley
1c6e50009b
fix: external link rules of hooks
2024-02-16 15:37:48 -07:00
Tanner Linsley
47617caa97
release: v1.16.4
v1.16.4
2024-02-15 22:17:10 +00:00
Nikola Hristov
13a2bbe703
fix: Declare handleDragStart as optional param ( #1190 )
2024-02-15 23:15:16 +01:00
Aryan Nagbanshi
1a4a0a980a
docs: fix typo in quick-start.md ( #1188 )
...
spelling mistake on line no 216, should be "your" but it typed "you"
2024-02-15 23:14:05 +01:00
lunacrafts
e703b8d6df
docs: Remove .md suffix from guide links ( #1189 )
2024-02-15 23:13:43 +01:00
Tanner Linsley
9a557a5847
release: v1.16.3
v1.16.3
2024-02-14 20:56:39 +00:00
Manuel Schiller
1031b5ac6a
fix: generator removes all routeFilePrefix occurences in the route path
2024-02-14 21:54:16 +01:00
Tanner Linsley
1995b904ed
release: v1.16.2
v1.16.2
2024-02-14 16:52:00 +00:00
Uros Mrak
d2e0365b20
docs: Add missing .tsx ( #1180 )
2024-02-14 17:49:12 +01:00
Manuel Schiller
ff8d0929a4
fix: do not include routeFilePrefix in path
...
fixes #1183
2024-02-14 17:47:51 +01:00
Manuel Schiller
3d9fe836ca
fix: useMatchRoute now also works with basepath
...
fixes #1179
2024-02-14 17:47:51 +01:00
Lachlan Collins
b0081da5f7
ci: Add read-only Nx cloud access token ( #1182 )
...
* ci: Add read-only Nx cloud access token
* Fix prettier
2024-02-14 19:50:20 +11:00
Sean Cassiere
c827951c7a
docs: prefer the usage of the getRouteApi function over direct Route config consumption ( #1143 )
...
* docs: path-params
* docs: search params
* docs: type-safety
* docs: useParams reference
* docs: code-based routing
* docs: data mutations
* docs: route-trees
* docs: search-params
* docs: deferred-data-loading
* docs: revert unneccessary changes and leave in a stub to add the "tips"
* docs: forgot to include in the last commit
* docs: add the "🧠 Quick tip" items about the `getRouteApi` function
2024-02-12 23:59:55 -07:00
Ilia
21ce1351e5
docs: remove duplicate word ( #1167 )
2024-02-11 11:01:52 +01:00
Tanner Linsley
578808ef36
release: v1.16.1
v1.16.1
2024-02-10 06:51:15 +00:00
Victor Afanassieff
c93faf33c7
fix: get file extension in generator ( #1166 )
2024-02-10 07:48:56 +01:00
Tanner Linsley
98d22a81d5
release: v1.16.0
v1.16.0
2024-02-09 21:14:36 +00:00
Victor Afanassieff
46eff8b9a0
feat: Add configuration option to generator which enables files extensions in imports to support moduleResolution "bundler"( #1160 )
...
* feat: add file extensions to generated file
* chore: less code repeat
* feat: handle all rootpath extensions
* docs: add doc for addExtensions option
2024-02-09 22:12:09 +01:00
Manuel Schiller
bafdba8357
chore: fix formatting
2024-02-09 21:59:52 +01:00
Tanner Linsley
a0af169ad6
release: v1.15.23
v1.15.23
2024-02-08 18:15:44 +00:00
Manuel Schiller
92923cc4e0
fix: when navigating, make path params optional that already exist in the from route ( #1163 )
2024-02-08 19:13:16 +01:00
Tanner Linsley
2c1fd45d26
release: v1.15.22
v1.15.22
2024-02-07 19:41:13 +00:00
Rein van Haaren
e7713dae5f
fix: correct singular or plural spelling in log message ( #1158 )
2024-02-07 12:38:24 -07:00
Andrew Joslin
5d7aa5dc45
fix: When link is disabled, disable all events ( #1159 )
2024-02-07 12:37:45 -07:00
Tanner Linsley
3310526616
release: v1.15.21
v1.15.21
2024-02-07 17:35:40 +00:00
Manuel Schiller
8a7805bde8
fix: SearchSchemaInput now also works when only from is specified and to is not ( #1161 )
2024-02-07 18:33:20 +01:00
Tanner Linsley
02a44644ca
release: v1.15.20
v1.15.20
2024-02-06 20:15:45 +00:00
Leonardo Montini
d2c7ef3de6
fix: ignore prettier on routeTree.gen.ts ( #1157 )
2024-02-06 21:13:26 +01:00
Tanner Linsley
2fda83e62d
release: v1.15.19
v1.15.19
2024-02-05 19:34:00 +00:00
orlik
0272c9ca85
fix: pass types to createRootRoute from createRootRouteWithContext ( #1154 )
...
https://github.com/TanStack/router/issues/1126
2024-02-05 12:31:38 -07:00