facebook-github-bot
released this
07 Nov 06:56
·
9 commits
to main
since this release
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.