Rename React hook useImperativeMethods -> useImperativeHandle#7352
Rename React hook useImperativeMethods -> useImperativeHandle#7352bvaughn wants to merge 1 commit intofacebook:masterfrom
Conversation
|
cc @jbrown215 |
facebook-github-bot
left a comment
There was a problem hiding this comment.
@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.
makefails with