mirror of
https://github.com/cloudflare/vinext.git
synced 2026-09-14 19:04:59 +08:00
dd498bdea9
* fix app router sibling interception * update app router entry snapshots * preserve chained intercepted navigations * address intercepted route review feedback * guard probePage() against undefined PageComponent for slot-only routes probePage() calls PageComponent(...) unconditionally. When a layout-owned slot-only route is hit, route.page is null so PageComponent is undefined, causing probePage() to throw TypeError on every request. probeAppPageComponent catches it and returns null, so it does not crash, but it fires an avoidable exception on every request to a slot-only URL and can confuse error monitoring. probeLayoutAt() already uses the same guard pattern: if (!LayoutComp) return null. Apply the same guard to probePage().