router.invalidate
Could somebody explain what
router.invalidate actually does? I'm seeing this function a lot in the examples, and don't know why?3 Replies
metropolitan-bronze•12mo ago
Data Loading | TanStack Router React Docs
Data loading is a common concern for web applications and is related to routing. When loading a page for your app, it's ideal if all of the page's async requirements are fetched and fulfilled as early...
metropolitan-bronze•12mo ago
Data Mutations | TanStack Router React Docs
Since TanStack router does not store or cache data, it's role in data mutation is slim to none outside of reacting to potential URL side-effects from external mutation events. That said, we've compile...
adverse-sapphireOP•12mo ago
thx