Likely to cause new Flow errors:
- The
inexact_tuple_types_syntax
option (which was on by default) is now deleted. Make sure you are usinghermes-parser
and related packages at version >= 0.23.0 - Render types will no longer allow specific renders wrapping more general renders like
renders React.Element<React.AbstractComponent<{}, mixed, renders* A>>
. Invalid render types will behave like any. - Some previously allowed generic render types are no longer allowed (example). This ensures that generic render types are only used to model transparent components like
React.Fragment
. renders* T
whereT
is generic is now banned.
Notable bug fixes:
- Render type with union type arguments will be correctly wrapped with parentheses.