Skip to content

hemengke1997/tanstack-router-keepalive

Repository files navigation

Logo

tanstack-router-keepalive

Route-level keepalive for @tanstack/react-router

Introduction

tanstack-router-keepalive is a route-level keepalive solution for @tanstack/react-router. It provides a way to cache the component instance when the route is switched, and reuse it when the route is switched back.

Online Demo

Click Here

Features

  • Route level keepalive
  • Excellent performance: keepalive route components do not enter the react rendering process
  • Easy to use: one component to rule them all
  • Flexible control: provide API to control route cache and lifecycle

Read the documentation for more details.

License

Distributed under the MIT license.

About

Route-level keepalive for @tanstack/react-router

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages