-
Notifications
You must be signed in to change notification settings - Fork 48.8k
Update Flow to 0.84 #17805
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
Update Flow to 0.84 #17805
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 17284fd:
|
Why upgrade to version 0.84 specifically? |
They said it should be easy compared to some big breaking change after. It also gives us new inexact object syntax, which is necessary to align with fbsource and unblock RN sync fix. |
We should upgrade to a later version too for sure but I started with this as MVP. |
yarn.lock
Outdated
@@ -4864,6 +4864,7 @@ eslint-plugin-no-unsafe-innerhtml@1.0.16: | |||
|
|||
"eslint-plugin-react-internal@link:./scripts/eslint-rules": | |||
version "0.0.0" | |||
uid "" |
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.
Is this an accident?
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.
I just ran Yarn. No idea.
* Update Flow to 0.84 * Fix violations * Use inexact object syntax in files from fbsource * Fix warning extraction to use a modern parser * Codemod inexact objects to new syntax * Tighten types that can be exact * Revert unintentional formatting changes from codemod
Updating to v0.84 first is a first step that avoids breaking changes in subsequent versions of Flow. v0.84 includes the new inexact object syntax, which is necessary to align with fbsource and unblock RN sync fix. Afterwards we can continue updating Flow in increments.