0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/docs/guide
Tanner Linsley 8fab8b4175 feat: loader + ephemeral loaderData
Breaking Changes:

- `load` has been renamed back (I know...) to `loader`. Don't kill me. This again stays true to the nature of its functionality.
- `loader` can once again return data, but it is stored ephemerally on the route match and re-loaded on every navigation.
- If you choose to store data in `loaderData` from the `loader` function, you'll likely want to employ some level of caching to ensure you're only fetching data when necessary and resolving as early as possible if you have any meaningful cached data to display to the user. TanStack Query is a great tool to do this.
History 2023-11-29 01:16:52 -07:00
..
authenticated-routes.md fix: refactor to full suspense + useTransition 2023-11-13 22:25:20 -07:00
code-splitting.md feat: loader + ephemeral loaderData 2023-11-29 01:16:52 -07:00
custom-search-param-serialization.md fix: refactor to full suspense + useTransition 2023-11-13 22:25:20 -07:00
data-loading.md feat: loader + ephemeral loaderData 2023-11-29 01:16:52 -07:00
data-mutations.md fix: refactor to full suspense + useTransition 2023-11-13 22:25:20 -07:00
deferred-data-loading.md feat: loader + ephemeral loaderData 2023-11-29 01:16:52 -07:00
external-data-loading.md feat: loader + ephemeral loaderData 2023-11-29 01:16:52 -07:00
history-types.md fix: framework agnostic packages 2023-08-08 18:34:31 -06:00
navigation-blocking.md Typos fixes (#687) 2023-08-21 17:57:08 -06:00
navigation.md fix: Fix force push removing commits (#728) 2023-09-12 08:56:50 -06:00
parallel-routes.md feat: route masking 2023-09-11 10:07:10 -06:00
path-params.md fix: $params, routeConfig.generate(), example checkpoint 2022-11-26 10:53:33 -07:00
preloading.md feat: loader + ephemeral loaderData 2023-11-29 01:16:52 -07:00
route-masking.md feat: route masking 2023-09-11 10:07:10 -06:00
route-matching.md Typos fixes (#687) 2023-08-21 17:57:08 -06:00
route-paths.md Typos fixes (#687) 2023-08-21 17:57:08 -06:00
router-context.md feat: loader + ephemeral loaderData 2023-11-29 01:16:52 -07:00
routes.md Typos fixes (#687) 2023-08-21 17:57:08 -06:00
scroll-restoration.md feat: resetScroll option 2023-08-27 22:19:00 -06:00
search-params.md feat: loader + ephemeral loaderData 2023-11-29 01:16:52 -07:00
ssr.md Update ssr.md 2023-08-26 01:26:04 -06:00
type-safety.md Typos fixes (#687) 2023-08-21 17:57:08 -06:00