callstack / callstack/react-theme-provider
performance optimization
未关闭
- 主要语言
- JavaScript
- 星标
- 467
- 派生
- 53
- PR 合并指标
- 30 天内没有已合并 PR
描述
as you know there are some gotchas with Context API performance.
so I recommend combining https://github.com/dai-shi/use-context-selector with this library to make it performant and avoid re-renders
贡献指南
调研方向
首先审查仓库当前对 React Context API 的使用情况,以及提议使用的 use-context-selector 库。该 issue 未指定文件、测试或可衡量的性能目标,因此请在实现之前定义集成范围和重新渲染改进目标;done 应包括一个已达成一致的方法,以及性能得到改善的证据。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, react
- 领域
- frontend, performance
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100