Metadata
Description
Earlier this year, Flow introduced a new architecture known as "Types-First":
- https://medium.com/flow-type/types-first-a-scalable-new-architecture-for-flow-3d8c7ba1d4eb
- https://flow.org/en/docs/lang/types-first/
We are currently on Flow version 0.133. Types-First is enabled by default in version 0.134.
It is possible to disable Types-First with the following option in .flowconfig
:
types_first=false
One area that is going to need particular attention is react-intl
. We are currently on version 3. The latest is version 5. And the Flow types haven't been updated since version 2:
https://github.com/flow-typed/flow-typed/tree/master/definitions/npm/react-intl_v2.x.x
Comments
-
Simon Bates commented
2021-04-19T13:45:30.929-0400 Flow version 0.143.0, released in January 2021, removes support for "Classic mode" and only supports "Types-First mode". The
types_first
option has been removed. See: https://github.com/facebook/flow/releases/tag/v0.143.0