You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(router-core): split loadMatches into its own file (#4969)
After the "flattening" PR #4961,
we now have a very clear *separate responsibility* the `Router` class is
handling: loading matches.
This PR proposes we split the code that handles "loading matches" into
its own `load-matches.ts` file, with the entry points being
- `loadMatches`
- `loadRouteChunk`
In future PRs, we might consider splitting other responsibilities out of
the 3k LoC `router.ts` file
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
0 commit comments