-
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
Rename React hook useImperativeMethods -> useImperativeHandle #7352
Conversation
cc @jbrown215 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jbrown215 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
I'll re-record the tests for you if necessary. This change is breaking and will error on projects that upgrade flow before they upgrade React. When will this name change be released? Should we support both for a few releases before removing |
Big thanks man. (Any chance you know why
We haven't committed to an exact release date for hooks yet, only "soon".
Hooks haven't been released in anything stable yet (only a |
Just made a fresh clone and followed the setup instructions and Flow built for me using |
Gotcha. Hm...fresh clone+install fails for me as well (errors below). I've tried both Node 8.12 and 10.12 Not that we need to solve this here or anything 😁
|
To stay in sync with the change made in facebook/react#14565
Disclaimer: These changes were manual and I'm going to let CI verify them. I'm having trouble actually building Flow locally and running tests.
make
fails with