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

13 commits

Author SHA1 Message Date
Manuel Schiller
54dad5f872
fix(start): fix usage of use() with React 19 (#2963)
both router and react 19 were modifying the Promise object in a similar manner which caused a conflict.

See https://github.com/facebook/react/blob/v19.0.0/packages/react-reconciler/src/ReactFiberThenable.js#L162-L228 for how React 19 modifies the Promise object.

Both used an additional `status` property to track the Promise status, but router was using the value "success" and React was using the value "fulfilled" to mark a fulfilled Promise.

This change stores the router specific Promise tracking values using a symbol to avoid any potential collision.

fixes #2953
2024-12-09 18:24:04 +01:00
Sean Cassiere
cebb221438
docs(router): update deferred data loading guide when using external libraries (#2940)
* docs(router): update deferred data loading guide when using external libraries
2024-12-07 12:11:48 +13:00
Danya Olekh
8804d8b6f0
Examples: remove unnecessary <Suspense> (#2458)
Co-authored-by: Dan <Dan>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-03 17:38:54 +02:00
Sean Cassiere
b52ef9dff8
docs(router): fixing broken links (#2389) 2024-09-21 22:56:42 +12:00
Baqir Khan
2c5452e8fa
docs: typos in the "data loading" and "deferred data loading" guides (#2015)
* Fix minor typo in data loading docs

* Fix typo in deferred data loading
2024-07-24 13:22:20 +12:00
Sean Cassiere
b5eabe19f5
docs: native markdown relative hyperlinks (#1998)
* docs: reference docs

* docs: guides

* docs: top-level

* docs: missed the route-trees

* docs: fixing routing-concepts
2024-07-20 18:23:45 +12:00
Sean Cassiere
9880bb8bb1
docs: use gfm alerts in the documentation (#1924)
* docs: gfm alerts on the deprecated apis

* docs: gfm alerts in the api reference

* docs: gfm alerts in framework/react

* docs: gfm alerts in framework/react/guide

* docs: more gfm alerts in the api reference

* docs: update to the decisions on dx doc
2024-07-10 11:46:21 +12:00
Tanner Linsley
0be110012c fix: no more weird streaming APIs, just use suspense + streaming 2024-05-26 22:56:02 -06:00
Tanner Linsley
4ef78725af
docs: prep for migration of tanstack.com to TSR (#1419) 2024-04-02 16:46:22 -06:00
Tanner Linsley
3b559fc931
fix: ssr improvements (#1248)
* fix: ssr improvements

* fix: remove log

* fix: remove log

* fix: remove comments

* docs: root abstraction

* fix: remove commented code

* fix: remove old TLoaderData fix attempt

* fix: remove commented code

* fix: imports

* docs: format

* fix: deprecate and handle not found "global" option
2024-03-04 11:23:41 -07:00
Pawel Fajfer
73fc10b195
docs: make loader function async in deferred-data-loading guide (#1258) 2024-03-03 19:50:11 +01: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
Lachlan Collins
77955ab586
docs: Re-organise for new docs layout (#1081) 2024-01-26 09:43:15 +11:00
Renamed from docs/guide/deferred-data-loading.md (Browse further)