Replies: 1 comment 2 replies
-
|
可以的,整个PR吧 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
问题
现在
observer方法接受一个React.ForwardRefRenderFunction<any>组件才能正常转发 ref,导致自定义的组件无法使用React.ComponentProps<T>推断出组件的 props 类型。期望
observer能否接受一个ForwardRefExoticComponent组件进行 ref 的转发?这样的话跟connect需要的组件类型也保持一致了。Beta Was this translation helpful? Give feedback.
All reactions