github facebook/flow v0.252.0

14 hours ago

Likely to cause new Flow errors:

  • Flow will no longer apply type transformation to function components' props when you extract props through the utility types. For example, function components' props won't automatically get $ReadOnly applied, which might cause new errors.

New Features:

  • We have removed the restriction of not allowing generics with ref prop in component syntax

Notable bug fixes:

  • Files in [declarations] section will have all lint errors silenced.
  • Fixed an issue that caused errors in hover type on unions of evaluated types (example)
  • Flow allows unions of strings to be used as the key in creation of objects with computed properties.

Don't miss a new flow release

NewReleases is sending notifications on new releases.