0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-18 19:34:24 +00:00
router/examples/react/with-loaders-code-split/src
Tanner Linsley 5fdf465ecf feat: loaderContext
Breaking Changes:
- `search` and `hash` are no longer directly available in route loaders
- The route `key` option has been removed

New:
- Added a new optional route option `loaderContext`. It's a function that receives `search` and `hash` and expects you to return any serializable data from them that you require in your loader. This stable-serialized value is used to uniquely identify route matches coming from this route configuration and acts as a dependency tracker for when loaders should rerun, etc.
History 2023-09-28 13:22:22 -06:00
..
routes feat: loaderContext 2023-09-28 13:22:22 -06:00
loaderClient.ts feat: bring back route loaders, caching, etc 2023-08-07 15:22:49 -06:00
main.tsx fix: framework agnostic packages 2023-08-08 18:34:31 -06:00