-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Missing React.forwardRef definition #6103
Comments
I might try to work on this over the weekend. Looks like for maximum correctness we need a new opaque type And then there's the option of fudging it and pretending |
OK, having done some digging, I'm going to make a PR with the less-correct solution, typing Ideally we would model these React builtins using a first-class "opaque component" type so we could catch certain errors that the current model will happily allow (and consider to have full type coverage). |
Any idea of which release this will be part of? Thanks |
@tiarebalbi 0.89 |
I will follow up with a blog post on how to use the new AbstractComponent type. It will coincide with the 0.89 release. |
@jbrown215 Can we get any idea of timelines for release? |
At the latest, December 19th, but hopefully December 12th. Call these dates tentative, since unexpected blockers might pop up. |
React 16.3 introduced a new
forwardRef()
API, for which Flow does not currently have a definition.The text was updated successfully, but these errors were encountered: