Commit 8e93b20
authored
Development: Skip route matching when there is an existing match (#84227)
## What?
Adds a fast path when there is an existing match already from matching
earlier in the request lifecycle. This works for the majority of cases
except for Parallel Routes as it will end up finding the wrong bundle
path. That is fundamentally related to the implementation of parallel
routes and where the bundles are created (under the specific parallel
route name). This will need a larger refactor to fix but that doesn't
have to block landing the fast path for all other cases.1 parent 962c2c3 commit 8e93b20
1 file changed
+23
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2558 | 2558 | | |
2559 | 2559 | | |
2560 | 2560 | | |
| 2561 | + | |
| 2562 | + | |
| 2563 | + | |
| 2564 | + | |
| 2565 | + | |
| 2566 | + | |
| 2567 | + | |
| 2568 | + | |
| 2569 | + | |
| 2570 | + | |
| 2571 | + | |
| 2572 | + | |
| 2573 | + | |
| 2574 | + | |
| 2575 | + | |
| 2576 | + | |
| 2577 | + | |
| 2578 | + | |
| 2579 | + | |
| 2580 | + | |
2561 | 2581 | | |
2562 | | - | |
2563 | | - | |
2564 | | - | |
2565 | | - | |
| 2582 | + | |
| 2583 | + | |
| 2584 | + | |
2566 | 2585 | | |
2567 | 2586 | | |
2568 | 2587 | | |
| |||
0 commit comments