Skip to content

StructureBuilder/react-keep-alive

View on GitHub ↗Related repositories →

A component that maintains component state and avoids repeated re-rendering.

active 2023-08-172026-03-03 (UTC)

Complete coverage26,490 / 26,490 hourly files (100%) · 2 absent upstream2023-08-152026-08-22 (UTC)
Events
115
Pushes
0
Pull requests
0
Issues
5
Stars
90
Forks
7

Activity over time

Daily event counts in the loaded window

Line chart, 930 days from 2023-08-17 to 2026-03-03. Pushes: 0 total, peak 0 in a day. Pull requests: 0 total, peak 0 in a day. Issues: 5 total, peak 3 in a day. Comments: 13 total, peak 5 in a day. Stars: 90 total, peak 3 in a day.

  • Pushes
  • Pull requests
  • Issues
  • Comments
  • Stars

Stars, PRs, issues and forks are under-captured in the later part of this window. GH Archive progressively stopped capturing non-push events during 2026 — −95% or worse by the end of the window. Every series here except Pushes fades for that reason, so a decline above reflects the archive, not this repository. Pushes stay reliable throughout, so read them, and the contributor counts derived from them, as the real signal. Data health has the measurements.

Top contributors

Pushes, PRs, issues, reviews and comments — stars and forks excluded, so this is contribution rather than popularity

ContributorContributionsPushesPRsComments
ShiHuanYan4001
lewway3003
zhangmingdi2002
yang20182182002
wqinglin1000
10891091001
zhaomenglu1001
JackZhang19881001
chenlei89101001
small-liang1001
lishanhuan1000

Recent activity

Latest issues, pull requests and releases

  • Issue comment#146zhaomenglu2024-12-25 09:36
    KeepAlive”不能用作 JSX 组件。 其元素类型 "ReactElement<any, any> | Component<IKeepAliveProps, any, any> | null" 不是有效的 JSX 元素。 不能将类型“Component<IKeepAliveProps, any, any>”分配给类型“Element | ElementClass | null”。 不能将类型“Component<IKeepAliveProps, any, any>”分配给类型“ElementClass”。 在这些类型中,"render()" 返回的类型不兼容。
  • Issue#148wqinglin2024-09-09 09:49
    umi 2.0 genRenderPath v0.6. How to resolve?
  • Issue comment#146lewway2024-08-06 10:43
    KeepAlive”不能用作 JSX 组件。 其元素类型 "ReactElement<any, any> | Component<IKeepAliveProps, any, any> | null" 不是有效的 JSX 元素。 不能将类型“Component<IKeepAliveProps, any, any>”分配给类型“Element | ElementClass | null”。 不能将类型“Component<IKeepAliveProps, any, any>”分配给类型“ElementClass”。 在这些类型中,"render()" 返回的类型不兼容。
  • Issue comment#146lewway2024-08-06 10:43
    KeepAlive”不能用作 JSX 组件。 其元素类型 "ReactElement<any, any> | Component<IKeepAliveProps, any, any> | null" 不是有效的 JSX 元素。 不能将类型“Component<IKeepAliveProps, any, any>”分配给类型“Element | ElementClass | null”。 不能将类型“Component<IKeepAliveProps, any, any>”分配给类型“ElementClass”。 在这些类型中,"render()" 返回的类型不兼容。
  • Issue comment#146yang20182182024-08-06 09:28
    KeepAlive”不能用作 JSX 组件。 其元素类型 "ReactElement<any, any> | Component<IKeepAliveProps, any, any> | null" 不是有效的 JSX 元素。 不能将类型“Component<IKeepAliveProps, any, any>”分配给类型“Element | ElementClass | null”。 不能将类型“Component<IKeepAliveProps, any, any>”分配给类型“ElementClass”。 在这些类型中,"render()" 返回的类型不兼容。
  • Issue comment#146lewway2024-08-06 09:25
    KeepAlive”不能用作 JSX 组件。 其元素类型 "ReactElement<any, any> | Component<IKeepAliveProps, any, any> | null" 不是有效的 JSX 元素。 不能将类型“Component<IKeepAliveProps, any, any>”分配给类型“Element | ElementClass | null”。 不能将类型“Component<IKeepAliveProps, any, any>”分配给类型“ElementClass”。 在这些类型中,"render()" 返回的类型不兼容。
  • Issue comment#146yang20182182024-08-06 03:20
    KeepAlive”不能用作 JSX 组件。 其元素类型 "ReactElement<any, any> | Component<IKeepAliveProps, any, any> | null" 不是有效的 JSX 元素。 不能将类型“Component<IKeepAliveProps, any, any>”分配给类型“Element | ElementClass | null”。 不能将类型“Component<IKeepAliveProps, any, any>”分配给类型“ElementClass”。 在这些类型中,"render()" 返回的类型不兼容。
  • Issue comment#145JackZhang19882024-05-07 13:23
    react-router-dom 6 以上,包裹后报错
  • Issue comment#36zhangmingdi2024-02-15 10:57
    未能从内嵌自定义的 Context 中使用 Consumer 读取数据
  • Issue comment#36zhangmingdi2024-02-15 10:54
    未能从内嵌自定义的 Context 中使用 Consumer 读取数据
  • Issue comment#13310891092024-02-02 09:59
    缓存后的组件,按钮点击等事件无效,这是怎么回事呢
  • Issue comment#137small-liang2023-11-21 08:17
    使用KeepAlive包裹住组件后,里面的点击事件没有效果了
  • Issue comment#147ShiHuanYan2023-10-24 11:45
    vite工程下,出现错误
  • Issue#147ShiHuanYan2023-10-24 11:45
    vite工程下,出现错误
  • Issue#147ShiHuanYan2023-10-24 11:43
    vite工程下,出现错误
  • Issue#147ShiHuanYan2023-10-24 11:42
    vite工程下,出现错误
  • Issue#146lishanhuan2023-09-04 03:52
    KeepAlive”不能用作 JSX 组件。 其元素类型 "ReactElement<any, any> | Component<IKeepAliveProps, any, any> | null" 不是有效的 JSX 元素。 不能将类型“Component<IKeepAliveProps, any, any>”分配给类型“Element | ElementClass | null”。 不能将类型“Component<IKeepAliveProps, any, any>”分配给类型“ElementClass”。 在这些类型中,"render()" 返回的类型不兼容。
  • Issue comment#68chenlei89102023-09-04 02:30
    项目中 demo 文件 Provider 加入属性 exclude 报错

Totals cover only the window loaded into ClickHouse and count events, not GitHub's lifetime totals — 90 stars here means stars gained during the window, not the repo's star count.