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

12 commits

Author SHA1 Message Date
Cory House
cdef3904ee
Update code-splitting.md (#877) 2023-12-25 16:20:18 -07:00
Tanner Linsley
524b77179c fix: abolish component props in favor of top-level hooks, route methods or RouteApi methods 2023-12-13 23:35:52 -07:00
Tanner Linsley
7ae13d9bfb fix: RouteApi class 2023-12-12 17:16:09 -07:00
Tanner Linsley
51a6d7e113 docs: update all docs 2023-12-09 00:16:13 -07:00
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.
2023-11-29 01:16:52 -07:00
Tanner Linsley
722a3ce6b6 fix: refactor to full suspense + useTransition 2023-11-13 22:25:20 -07:00
Mihovil Ilakovac
7f9286a41e
Typos fixes (#687) 2023-08-21 17:57:08 -06:00
Tanner Linsley
4767648c15 fix: framework agnostic packages 2023-08-08 18:34:31 -06:00
Tanner Linsley
9660e43c80 docs/examples: lazyRouteComponent updates 2023-08-04 17:09:00 -06:00
Cyprian Bergonia
99957c10be
feat: named imports (#594)
* Update react.tsx

Allow named imports

* Update react.tsx

* Update lazy.md

* Update code-splitting.md

* Update code-splitting.md

* Create TestComponent.tsx

* Update createRoutes.test.ts
2023-07-06 17:18:51 -06:00
Tanner Linsley
3581aec569 checkpoint 2023-02-20 09:41:43 -07:00
Tanner Linsley
092af2ae4f docs: more 2023-02-08 14:40:13 -07:00