feat: support lazily loading routes/handlers (#3131)
We can improve cold start times by only loading route modules when the particular pattern matches. This PR introduces the concept of lazy middlewares, routes and handlers to do that.
This commit is contained in:
@@ -110,7 +110,6 @@ export class Context<State> {
|
||||
|
||||
#buildCache: BuildCache<State>;
|
||||
|
||||
// FIXME: remove after switching to <Slot />
|
||||
Component!: FunctionComponent;
|
||||
|
||||
static {
|
||||
|
||||
Reference in New Issue
Block a user