Skip to main content
Version: Next

TanStack Router

Native Predictive Prefetching Coming to TanStack Router

Good news for TanStack Router users as predictive prefetching is planned as a built-in feature. See announcement by Tanner Linsley.

A subtle difference is that ForesightJS applies hitSlop around target elements, TanStack Router's method is expected to use a predictive "slop" around the mouse cursor's future path to detect intersections.

While ForesightJS offers a debug visualization mode not expected in the TanStack Router implementation, the native integration will likely provide better integration. Given the track record of the TanStack team, this native solution will be worth adopting when available.