Likely to cause new Flow errors:
- The
inexact_tuple_types_syntaxoption (which was on by default) is now deleted. Make sure you are usinghermes-parserand 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* TwhereTis generic is now banned.
Notable bug fixes:
- Render type with union type arguments will be correctly wrapped with parentheses.