useNavigating

tcmts.react.useNavigating · #jrgdbgcw · term · runs in the browser

uses tcmts.react.router, which uses tcmts.react.createRouter, which uses IntersectionObserver

Whether a navigation (navigate, back or forward) is still rendering: the next page is on its way, and the last one is still on screen.

import { router } from "#codebase/tcmts/react";

export const useNavigating = (): boolean => router.useNavigating()

uses