Back to Pull RequestsView on GitHub
#5890Open
Simple Review
Fix: Route with server function as loader that throws notFound crashes route on HMR #5763
by DeTuksa•Nov 17, 2025
Summary
This pull request fixes an issue where a route with a server function loader that throws `notFound` would crash during Hot Module Replacement (HMR). The change ensures that 'notFound' is treated similarly to 'error' during invalidation, allowing routes to re-load correctly.
Changes
+96 additions-1 deletions
Impact Areas
RoutingServer-Side Rendering (SSR)Development Experience (HMR)