0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
Commit graph

400 commits

Author SHA1 Message Date
Tanner Linsley
3e2d936e2e fix: Normalize searchStr from parsed search
Fixes #1003
2024-01-25 23:03:59 -07:00
GJ Tiquia
8490d553ba
docs: Update history-types.md (#1082)
* docs: Update history-types.md

* docs: update history-types.md
2024-01-25 21:43:10 -07:00
GJ Tiquia
f6f5af8f7c
docs: added missing imports in quick-start.md (#1073) 2024-01-25 21:41:34 -07:00
Lachlan Collins
77955ab586
docs: Re-organise for new docs layout (#1081) 2024-01-26 09:43:15 +11:00
Tanner Linsley
957064d8ce fix: Use staticData instead of reserved static keyword 2024-01-24 21:41:26 -07:00
Tanner Linsley
3ad36cd3ad feat: Static Route Data 2024-01-24 21:30:25 -07:00
Tanner Linsley
1fb4082c07 feat: createLazyRoute 2024-01-24 20:41:50 -07:00
Tanner Linsley
0660d9d239 fix: tests 2024-01-24 17:02:15 -07:00
Tanner Linsley
709fc749f9 fix: more refactoring and deprecations 2024-01-24 14:48:51 -07:00
Tanner Linsley
fcc278ffc8 feat: New code-splitting patterns + deprecations
- Deprecated class constructor APIs in favor of new `create[Class]` functions
- Added new code-splitting paradigm that produces less code, preloads potentially faster and plays nicely with SSR and file-based routing
- Updated all examples to use new code splitting patterns and new suggested APIs
2024-01-24 13:01:48 -07:00
Aquib
d3b1fa582e
docs: Update navigation.md - fix typo (#1074) 2024-01-24 20:02:41 +01:00
Ben Patton
b615359f37
docs: added basic migrate from react router checklist (#1072) 2024-01-23 19:59:50 -07:00
Manuel Schiller
cfd49f7185 docs: correctly explain how to create root route with context 2024-01-23 19:08:49 +01:00
Sean Cassiere
e69c394cb9
docs: expand the documentation on authentication routes with react context (#1055)
* docs: authenicated routes using React hooks

* docs: include line to indicate it can be used with layout routes

* docs: include parent as well

* docs: add an example showcasing only authentication

* chore: add the authenticated routes example to the  config

* docs: include a link to the example
2024-01-21 20:09:46 -07:00
Manuel Schiller
879234b594 fix: fix typing of useRouteMatch as well as fix bug when matching route with path param (#1032) 2024-01-20 07:12:13 +01:00
Cory House
cbe7130351
docs: Update search-params.md (#1034) 2024-01-20 07:07:52 +01:00
gilbert
bae614f67a
feat: Add client-side handling for server-side errors using errorComponent and wrapInSuspense: true (#1001) 2024-01-19 19:54:09 +01:00
Tanner Linsley
2dc5e3db96 feat: Add "disableTypes" option to route generation for JS users 2024-01-18 15:28:31 -07:00
Aloys
e5d2626c0c
docs: Fix broken URL in the docs (file-base-routing.md) (#1014) 2024-01-18 18:09:46 +01:00
Tanner Linsley
19d7457d93 fix: no unnecessary promise delay on awaited, examples: update vinxi examples 2024-01-17 14:41:08 -07:00
Manuel Schiller
05ba0f8b31 docs: correctly describe type union 2024-01-17 17:44:52 +01:00
harry
42a6d61e17
docs: In the example, the "Blocker" component name is corrected to "Block" (#1006) 2024-01-16 20:14:53 -07:00
Tanner Linsley
9d38d0e634 docs: update 2024-01-16 17:04:57 -07:00
Tanner Linsley
0802aca24b docs: vinxi example 2024-01-16 17:03:58 -07:00
Tanner Linsley
b2055904ac examples: add vinxi ssr streaming example 2024-01-16 16:10:15 -07:00
Tanner Linsley
5a20db117e docs: update quick-start 2024-01-16 12:07:43 -07:00
Tanner Linsley
491bf5e445 docs: rewrite to prefer file-based routing 2024-01-16 11:49:52 -07:00
SilentSwaps
6d7a5b3999
docs: add type assertion (#991)
Type assertion so it will at least compile.
2024-01-14 20:32:46 +01:00
Manuel Schiller
60c55b9a94
docs: remove example of returning a redirect (#981) 2024-01-12 22:39:05 +01:00
redbar0n
30d6a8be74
docs: Update router-cli.md: Fix MyComponent typos (#974) 2024-01-12 22:02:17 +01:00
Tanner Linsley
a0980b8015 docs: update 2024-01-11 10:09:39 -07:00
Manuel Schiller
048952c38d docs: fix typos 2024-01-10 23:10:57 +01:00
Léo Tuil
32330663ba
docs: Update links in router-vite-plugin.md (#959) 2024-01-10 22:52:55 +01:00
Manuel Schiller
a2a7d7e538
docs: update docs and examples to use route.fullPath instead of route.id as from (#928) 2024-01-10 14:52:04 -07:00
Tanner Linsley
0ad7e4be4b docs: more experimental codesplitting docs 2024-01-10 00:25:53 -07:00
Tanner Linsley
8a5ab0a1cf feat: Add @tanstack/router-vite-plugin. Fixes TSR generate now nested routes properly. Also fixes unstable_codeSplitting issues. 2024-01-08 16:01:00 -07:00
Alessandro
3bfa79d853
Update data-loading.md (#943)
Fix markdown typo
2024-01-07 03:45:14 +01:00
Tanner Linsley
4a0354e2c3 docs: route cli docs 2024-01-05 22:20:33 -07:00
Tanner Linsley
576f16cbf7 docs: Router CLI docs 2024-01-05 13:12:27 -07:00
Manuel Schiller
e2e07537e3
chore: add missing doc link (#926) 2024-01-04 22:06:11 +01:00
CHE1RON
b7899d0f49
chore: fix typo (#915) 2024-01-03 23:35:38 +01:00
Manuel Schiller
41493fae66
fix: clear hash if not set (#914) 2024-01-03 14:51:45 -07:00
Tanner Linsley
c12bec43c4 docs: fix api titles 2024-01-03 13:46:08 -07:00
Tanner Linsley
abb3c238b1 fix: api reference links 2024-01-03 13:42:03 -07:00
Tanner Linsley
a60c718e76 docs: update ssr imports to @tanstack/react-router-server 2024-01-03 12:17:20 -07:00
CHE1RON
a4e23a8543
docs: fix typos (#906) 2024-01-03 12:54:56 +01:00
Manuel Schiller
c5eae0cfea
feat: allow search params with default values (#907) 2024-01-03 04:28:07 +01:00
Tanner Linsley
1e6f7ae5ff docs: update api reference 2024-01-02 10:50:37 -07:00
Tanner Linsley
07893ef365 docs: update api 2024-01-02 09:38:57 -07:00
Manuel Schiller
3b6b8d0da9
fix(route-cli): make quote style configurable (#894)
* feat(router-cli): make quoteStyle configurable

* set `quoteStyle` to `double` in one example
2023-12-29 08:43:11 -07:00