* fix(react-router,start): ensure document and window is only used when available
* Update packages/react-router/src/Transitioner.tsx
* fix: document not undefined in the transitioner
* fix(start): incorrect exit condition for document on Meta
---------
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
* fix(router-generator): scaffolding the initial content for the root route
* refactor(router-generator): move the code higher up and set it to always handle the root node, regardless of the whether it exists or not
* chore(router-generator): add a comment as to why the `handleRootNode` function is not folded into `handleNode`
* refactor: format the template on save
* fix(react-router): set the default `notFoundMode` during instantiation
* docs: update `RouterOptions` with `notFoundMode` and `defaultViewTransition`
fixes#2106
this reverts https://github.com/TanStack/router/pull/2075 since the effect was not executed properly.
To avoid the infinite loop of #2053, the `minPendingPromise` is read via `router.getState` since `match` property was not up-to-date
* switch the "with-trpc" example over to vinxi
* move the "with-trpc" example over to file-based routing
* switch the "with-trpc-react-query" over to file-based routing
* cleanup on the "with-trpc" example
* cleanup on the "with-trpc-react-query" example
* remove the manifest generation block flag on the "with-trpc-react-query" example
* remove the manifest generation block flag on the "with-trpc-react" example
* using the a TextEncoder
* trying without the changes from #1822
* revert that last commit
* use TextDecoder on the client-side of the stream
* undo
* temporary disable
* re-enable
* style: eslint warnings
* log error events
* gitignore wrangler outputs
transformStreamWithRouter was previously being used when the runtime is
detected to support web streams (i.e. ReadableStream).
transformReadableStreamWithRouter should be used instead inside of
defaultStreamHandler.
* Added test to prove rerender test for hooks is not possible with tanstack router wtih the current state.
* prettier
* Changed implementation to prove it will work
* Navigating from kitchensink app dashboard/invoices to dashboard/users would end up redirecting back to dashboard/invoices if using this.state.resolvedLocation
* revert and fix navigate by adding a "to" directly in the useEffect since without it tanstack router will navigate back
* cleanup
* ensure lock file was not changed
* now using lock from main
* revert change
* revert fix for search
* fixed formatting
* ci: apply automated fixes
* chore: do not use memoryHistory
---------
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* rename folder
* fixup the with-trpc-react-query example
* cleanups in the "with-trpc" example
* sync with "with-trpc"
* upgrade the "with-trpc" example, trpc package
* sync the spinner
* chore: display the examples on the website
* test: check for the transformer functions
* fix(react-router): set a default transformer during router instantiation
* chore: remove the `.only` call during tests
* fix(react-router): stabilize the memoized route component remounting when on the same route by using `routeId` as the key instead of `matchId`
* test: add a check to make sure we do not regress this change in the future
* chore: clean up the weird import that was bothering eslint