Likely to cause new Flow errors:
- Flow now has stricter behavior with
$Call
,$ObjMap
,$ObjMapi
,$ObjMapConst
,$TupleMap
. Previously hidden type errors might be revealed now. - You can no longer disable
tuple_ehancements
,conditional_type
,mapped_type
,type_guards
in flowconfig, since these options have been removed. They were enabled by default since v0.212.0.
IDE:
- We now provide a new refactor that extracts JSX elements into a new React component.
- Extract to constant refactors now works for nested JSX elements and fragments.
Notable bug fixes:
- Added default type arguments for the built-in
React$AbstractComponent
to match theReact.AbstractComponent
type alias in our libdefs. [try-flow]
Library Definitions:
- Added
parseArgs
to the Node.jsutil
module library definition