rescript-lang / rescript-lang/rescript-react
`suppressHydrationWarning` does not belong to type JsxDOM.domProps
未关闭
还没有人认领这个 Issue。
- 主要语言
- ReScript
- 星标
- 517
- 派生
- 45
- PR 合并指标
- 30 天内没有已合并 PR
描述
I am using next-themes lib that requires to add attribute suppressHydrationWarning on the HTML tag.
I think JsxDOM.domProps should be have suppressHydrationWarning type
https://legacy.reactjs.org/docs/dom-elements.html#suppresshydrationwarning
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先定位 JsxDOM.domProps 的类型定义,并将其支持的属性与 React 关于 suppressHydrationWarning 的文档进行比较。当该属性可以在 HTML 标签上被接受且不会产生类型错误时,工作就完成了;issue 中没有提到特定的测试文件。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 45/100