* docs: callouts in the file-based routing conventions
* docs: make the callouts related their properties/options
* docs: emojis!
* docs: add a callout in the "file-naming conventions" section
* docs: use a single callout in the "options" sections
* docs: better callout in the 'file-naming conventioned' section
* docs: missing words
* docs: that should be it
* docs: be a bit more obvious about the `-`
* docs: rename the authenticated-routes example
* docs: update the authenticated-routes example to use layouts
* docs: trim up the authenticated routes example
* docs: default navigation to `/dashboard`
* docs: add auth persistence
* feat(router-generator): append and prepend lines to the generated route-tree
* test(router-generator): making sure it works!
* refactor(router-generator): rename the prepend and append properties
* docs: docs on the new prepend and append functionality
* refactor(router-generator): update configuration property names
* test(router-generator): update the tests with the new configuration property names
* docs: update file-based routing guide with the new property names
* refactor(router-generator): move to the defaults
* test(router-generator): updated test output
* docs: show what the defaults are on the docs
* docs: add migration guide for react-location
* chore: show the react-location migration guide
* docs: remove the word "over"
* docs: make ssr a guide to feature
* fix(react-router): encodeURI the parameters when building the pathname before commit
* chore(react-router): add a good comment so we dont nuke this in the future
* test(react-router): add tests to confirm functionality of the path params changes
* chore: ignore the `*.vitest-temp.json` files
* chore: delete `tsconfig.vitest-temp.json`
* fix(history): update the `state.key` when using memory history on navigation change via `.back(), .forward(), and .go()`
* fix(history): use the exisitng `assignKey` function for seeding the key
* chore: remove test env
- Fixed an issue where preloads would redirect and not resolve to the correct location
- Removed the need for `getRenderedMatches`. The matches intended to be rendered are now always stored at `store.matches`
- Removed the experimental ability for async meta and headers. Loaders should be used to get async data into these functions
- Pending matches now take `beforeLoad` into account and properly start pendingMs timers.
- `pendingMinMs` is also more accurate now by only triggering its timers when the pending state is encountered during rendering
- Removed a logical path where the `pending` component could be directly rendered within a route instead of handled by suspense
- Matches that don't require loaders or beforeLoaders will start as "success".
- Meta and headers are now called and saved for matches that are cached or already in the "success" state
- Fixed an issue where redirects and not-found errors would get improperly swallowed
- Fixed an edge-case where outdated navigations were not ignored and created race-conditions
- Refactored isServer into the router so we can do some better mocking in tests
- Added tests around scripts, meta, and redirects
- Fixed issues with non-vinxi server envs
- Injected html now waits for <body>
Closes#1104#1146#1168
* fix: updated vinxi ssr example with streaming
* chore: updated vinxi packages
* chore: unused imports
* fix: use type instead of mode
* fix: updated vinxi example to latest tsr
* chore: cleanup
* chore: use createTanStackRouter
* style: run prettier
* chore: package json to reflect the other examples
* chore: rebased with latest main
* style: prettier
---------
Co-authored-by: @alessandrojcm <alessandro.cuppari@broadridge.com>
Co-authored-by: @SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
* feat(react-router): mark the `navigate` function in the `beforeLoad` and `loader` callbacks as deprecated
* docs: mark the navigate function passed into the `beforeLoad` and `loader` functions as deprecated