An open API service indexing awesome lists of open source software.

https://github.com/webmasterdevlin/tanstack-router-kitchen-sink-demo


https://github.com/webmasterdevlin/tanstack-router-kitchen-sink-demo

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Forked Tanstack Router Kitchen Sink Demo

To run this example:

- `bun install` or `pnpm`
- `bun run dev` or `pnpm start`

## The route loading lifecycle
Every time a URL/history update is detected, the router executes the following sequence:

- Route Matching (Top-Down)
- route.params.parse
- route.validateSearch
- Route Pre-Loading (Serial)
- route.beforeLoad
- route.onError
- route.errorComponent / parentRoute.errorComponent / router.defaultErrorComponent
- Route Loading (Parallel)
- route.component.preload?
- route.loader
- route.pendingComponent (Optional)
- route.component
- route.onError
- route.errorComponent / parentRoute.errorComponent / router.defaultErrorComponent