Enable standard use of the ref prop.
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript, react
- 领域
- frontend
调研方向
从所引用的 src/components/connect.js 第 138 行开始,将当前 string-valued ref 的行为与 issue 中所示的 function-valued 方法进行比较。验证 parent 是否可以通过 standard function form 将 ref prop 与 wrapped component 一起使用,并确认现有行为仍然合适。
由索引模型根据 Issue 内容生成。
描述
Instead of using a string value for the ref property, using the more modern method using the function value will enable regular use of the ref property from the parent of the wrapped component.
today:
https://github.com/heroku/react-refetch/blob/master/src/components/connect.js#L138 )
suggested:

- 主要语言
- JavaScript
- 星标
- 3.4k
- 派生
- 137
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
heroku/react-refetch 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 35/100
heroku/react-refetch#258 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 45/100
heroku/react-refetch#243 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
heroku/react-refetch#228 · 1 条评论 · 3 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 35/100
heroku/react-refetch#227 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
heroku/react-refetch#226 · 1 条评论 ·
查看 heroku/react-refetch 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
tshemsedinov/reslop#158 ·
维护者通常 1 天内回复
-
level/task type/bug
难度 2/5 1-3 小时 新手友好度 72/100
wazuh/wazuh-documentation#10398 ·
维护者通常 1 天内回复
-
app_installations reports an error on every repo or suborg change when the plugin is not configured未关闭
难度 2/5 1-3 小时 新手友好度 64/100
github-community-projects/safe-settings#1111 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复