Home

tanstack/router

Status:Indexed
Analyzed Nov 17, 202510K+ starsTypeScript

🤖 A client-first, server-capable, fully type-safe router and full-stack framework for the web (React and more).

Back to Pull Requests
#5890Open
Simple Review

Fix: Route with server function as loader that throws notFound crashes route on HMR #5763

by DeTuksaNov 17, 2025
View on GitHub

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)