Files
Nathan Nguyen dd498bdea9 Fix sibling intercepted App Router routes (#867)
* 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().
2026-04-21 18:23:51 +01:00
..