Likely to cause new Flow errors:
- When you pass a generic component type to some React utility type like
React.ElementConfig<typeof some_generic_component>, we will replace all the type parameters with their defaults or bounds. It can potentially cause downstream errors. (Example)
New Features:
- Add built-in (intrisic) element names like
divto JSX autocomplete - Mapped types now support operating directly over keys, like TypeScript's Pick and Omit (Example). Mapped type support is still experimental; enable
experimental.mapped_type=trueto try them.
Notable bug fixes:
- Don't check
@noflowfiles in "all" mode - Fixed a source of spurious errors when using refined string keys as computed properties in objects (Example)
- Improved Go to Definition on
exportstatements
Library Definitions:
- Added
relas an attribute toHTMLFormElement - Added
WeakRefclass definition - Added
ariaHiddenDOM property