Skip to content

Commit 8b90273

Browse files
committed
refactor(http/unstable): default route export to routeLinear
The radix router is brand new; keep `route` bound to the better-tested `routeLinear` while it matures. Users who want the radix optimizations opt in via the `routeRadix` named export.
1 parent 7f97660 commit 8b90273

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

http/unstable_route.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export type Handler = (
2828
) => Response | Promise<Response>;
2929

3030
/**
31-
* Route configuration for {@linkcode routeRadix}.
31+
* Route configuration for {@linkcode route}.
3232
*
3333
* @experimental **UNSTABLE**: New API, yet to be vetted.
3434
*/
@@ -459,4 +459,4 @@ export function routeRadix(
459459
};
460460
}
461461

462-
export { routeRadix as route };
462+
export { routeLinear as route };

0 commit comments

Comments
 (0)