angular-cn/goldens/size-tracking
Andrew Scott 7ad32649c0 fix(router): support lazy loading for empty path named outlets (#38379)
In general, the router only matches and loads a single Route config tree. However,
named outlets with empty paths are a special case where the router can
and should actually match two different `Route`s and ensure that the
modules are loaded for each match.

This change updates the "ApplyRedirects" stage to ensure that named
outlets with empty paths finish loading their configs before proceeding
to the next stage in the routing pipe. This is necessary because if the
named outlet has `loadChildren` but the associated lazy config is not loaded
before following stages attempt to match and activate relevant `Route`s,
an error will occur.

fixes #12842

PR Close #38379
2020-08-19 11:36:06 -07:00
..
aio-payloads.json fix(common): ensure scrollRestoration is writable (#30630) 2020-08-05 16:13:15 -07:00
integration-payloads.json fix(router): support lazy loading for empty path named outlets (#38379) 2020-08-19 11:36:06 -07:00