final-form / final-form/rff-cli-example

Example code: error when using recent React and Ink3

未关闭
#2 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
78
派生
5
PR 合并指标
30 天内没有已合并 PR

描述

Hi,
First thanks for this code example!
I am experiencing issues to make your example running, I get this error message:

```
ERROR Element type is invalid: expected a string (for built-in components) or a
class/function (for composite components) but got: undefined. You likely forgot
to export your component from the file it's defined in, or you might have
mixed up default and named imports.

Check the render method of `Field`.
```

Would you be able to provide a possible source of the issue?

贡献指南

这个仓库没有索引到贡献指南

调研方向

使用较新的 React 和 Ink 3 重现该示例,然后检查 Field 的 render 方法及其组件导入。示例能够在不出现所报告的无效元素类型错误的情况下启动,并且表单能够正确渲染,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, react
领域
cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。