plotly / plotly/react-plotly.js
config is cached
未关闭
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 1.1k
- 派生
- 138
- 平均合并
- 3 天 2 小时
- 30 天内合并 PR
- 4
描述
When creating a plot and giving it a config, it seems the config is cached/stale.
I have added a button in a config which e.g. console.logs redux's state. Even though the state changes throughout using the app, clicking the button yields always the same result.
Any idea if I'm missing something simple here or if I should create some code example for further deep dives?
Thanks!
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,在一个最小的 react-plotly.js 示例中复现过期 config 的行为,使用一个读取变化中的 redux state 的 config button。将按钮观察到的 state 与当前应用 state 进行比较,并检查组件对 config 的处理。完成标准是按钮反映更新后的 state,并且通过回归测试或可复现示例记录该修复。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, react
- 领域
- data-visualization, frontend
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100