next.js
feat: Add unstable_useRoutes() hook for canonical route structure
#85527
Open

feat: Add unstable_useRoutes() hook for canonical route structure #85527

wyattjoh wants to merge 8 commits into canary from feat/use-route
wyattjoh
ijjk ijjk added created-by: Next.js team
ijjk ijjk added type: next
wyattjoh wyattjoh marked this pull request as draft 124 days ago
wyattjoh
ijjk
wyattjoh wyattjoh force pushed from 608b5524 to 90a4100b 124 days ago
ijjk
wyattjoh wyattjoh changed the title Add useRoute() hook for canonical route structure Add `useRoute()` hook for canonical route structure 124 days ago
wyattjoh wyattjoh changed the title Add `useRoute()` hook for canonical route structure Add useRoute() hook for canonical route structure 124 days ago
ijjk ijjk added tests
Base automatically changed from fix/cc-interception-routes to canary 122 days ago
dayongkr
wyattjoh wyattjoh force pushed from 98b7beb7 to 1e513aea 91 days ago
wyattjoh wyattjoh force pushed from 1e513aea to 995a3460 54 days ago
vercel
vercel commented on 2026-01-07
nextjs-bot
wyattjoh wyattjoh changed the title Add useRoute() hook for canonical route structure feat: Add unstable_useRoutes() hook for canonical route structure 54 days ago
wyattjoh wyattjoh force pushed from 28849e5d to 4e24ef2e 54 days ago
wyattjoh wyattjoh force pushed from 4e24ef2e to 5c794ff2 53 days ago
wyattjoh wyattjoh force pushed from 5c794ff2 to 7f95381b 51 days ago
nextjs-bot nextjs-bot added Turbopack
nextjs-bot
nextjs-bot
wyattjoh feat: initial useRoute() implementation
bda37ca4
wyattjoh test: added e2e test for new hook
9451a26e
wyattjoh refactor: rename useRoute to unstable_useRoute with effect-phase rest…
73c9a93f
wyattjoh fix: remove unused error message for singular useRoute
77117a3c
wyattjoh fix: correct FlightRouterState destructuring in extractRoutesFromFlig…
64a4861b
wyattjoh wyattjoh force pushed from 1561501b to 64a4861b 45 days ago
wyattjoh fix: update test fixtures to use CompressedRefreshState tuples
81305ec6
wyattjoh chore: address code review feedback for unstable_useRoutes
fed6a1c0
wyattjoh refactor: simplify route building expression in extractRoutesFromFlig…
08773030

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone