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
absent-sapphire•10mo 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...
absent-sapphire•10mo 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...
fuzzy-lavenderOP•10mo ago
thx