0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/examples/react/start-basic-auth/src
Sean Cassiere 16705fab53
fix: resolve custom client and server entry paths (#4172)
This PR fixes it, so that a user can define a custom framework entry for both
the `client` and `server` (in either `src/client.tsx` or `src/server.tsx`).

This PR also removes the unneeded `src/server.ts` files present as part of the
`devinxi` migration.

Additionally, the React client entry has been change to wrap `hydrateRoot`
with `startTransition`. This change useful, since after the SSR-rendered
markup is sent to the client, `startTransition` lets React know to defer the
hydration in favor of user events.

fixes #4138
History 2025-05-15 16:04:03 +12:00
..
components chore(examples,e2e): incorrect label value for "email" (#3851) 2025-03-26 20:54:26 +13:00
hooks chore: move start e2e and example projects from ./app to ./src (#3712) 2025-03-09 23:35:20 +01:00
routes Devinxi (#4111) 2025-05-10 14:54:51 +02:00
styles chore: move start e2e and example projects from ./app to ./src (#3712) 2025-03-09 23:35:20 +01:00
utils chore: move start e2e and example projects from ./app to ./src (#3712) 2025-03-09 23:35:20 +01:00
router.tsx chore: move start e2e and example projects from ./app to ./src (#3712) 2025-03-09 23:35:20 +01:00
routeTree.gen.ts Devinxi (#4111) 2025-05-10 14:54:51 +02:00
tanstack-start.d.ts fix(start-plugin-core): include "vite/client" types (#4139) 2025-05-11 14:20:16 +12:00