Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧐[问题] 子组件怎么获取ProFormInstance 呢? #8945

Open
roddc opened this issue Dec 26, 2024 · 0 comments
Open

🧐[问题] 子组件怎么获取ProFormInstance 呢? #8945

roddc opened this issue Dec 26, 2024 · 0 comments

Comments

@roddc
Copy link

roddc commented Dec 26, 2024

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

🧐 问题描述

我想在子组件里获取 ProFormInstance, 有类似 Proform.useProFormInstance的方法吗? 如果用ref.current的话, 传入子组件是不会更新的,只能将整个ref传进去

💻 示例代码

🚑 其他信息

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant