Skip to content

Releases: CJY0208/react-router-cache-route

v1.13.0

10 May 09:50
e06a047

Choose a tag to compare

feat: add autoFreeze prop

v1.11.0

05 Jan 14:59
442c26f

Choose a tag to compare

  • feat: add lifecycle hooks useDidCache and useDidRecover

v1.10.1

30 Oct 10:39
6a770f9

Choose a tag to compare

fix: #92

v1.10.0

19 Sep 03:34
512236c

Choose a tag to compare

  • #89 feat: add refreshByCacheKey method to support refreshing a route by key @xwinstone

v1.9.2

16 Sep 15:33
ac68872

Choose a tag to compare

  • 修复 multiple 模式下兼容 search 后 key 值重复的问题

v1.9.1

16 Sep 15:32
6a0967d

Choose a tag to compare

  • 修复 multiple 模式下不兼容 search 参数的问题

1.9.0

26 May 12:58

Choose a tag to compare

  • [兼容] react-router-dom v5.2.0
  • [拓展] cacheKey 允许传递 function 类型
<CacheRoute path="/item/:id" cacheKey={props => `Item_${props.match.params.id}`} />

Change Log

05 Dec 03:19

Choose a tag to compare

  • 修复 cacheKey 中包含 . 时 dropByCacheKey 不生效的问题

Change Log

07 Nov 07:56
62f6b4f

Choose a tag to compare

  • 修复 #53#54
  • 文档新增 CacheSwitch which 属性说明;
  • 文档修正对 multiple 功能的版本需求说明

Change Log

25 Oct 01:51
47b4d0e

Choose a tag to compare

  • 修复 .d.ts 对 CacheRoute.when 及 CacheSwitch 的类型定义错误