Skip to content

Latest commit

 

History

History
43 lines (36 loc) · 982 Bytes

README.md

File metadata and controls

43 lines (36 loc) · 982 Bytes

Better Blocking Router

A Tanstack router fork with an improved useBlocker hook

Quick Features

  • 100% TypeSafe
    • Route Defs
    • Navigation
    • Relative Navigation
    • Search Params
    • Path Params
    • Loaders
  • 1st Class Search Params
    • Schemas + Validation
    • Parsing + Serialization
    • Immutable
    • Structural Sharing
    • Pre/Post Processing
  • Built-in Caching
    • Stale-While-Revalidate
    • Max-Age
    • Auto Garbage Collection
    • Invalidation
  • Prefetching
  • Automatic Prefetching
  • Transitions
  • Error Boundaries
  • Code Splitting
  • Layout Routes
  • Easy Integration w/ external caches and storage (eg. React Query, Apollo, SWR, RTKQuery)
  • Top tier navigation blocking

Install guide

In your package.json add: "@tanstack/react-router": "npm:@betterblockingrouter/[email protected]",

Then you are good to go!

Example Usage

To run example React projects with Tanstack Router, see CONTRIBUTING.md