Likely to cause new Flow errors (copied from 0.235.0 release notes):
- Flow's react-rule enforcement now detects reads from ref.current within nested functions of hooks and components that are called during rendering.
- obj[key] where obj is not a dictionary object and key is a string used to not error and just silently return any. We now error on this pattern.
Misc:
- By default,
flow ast
will now parse component syntax rather than reject it. You can pass--no-component-syntax
to get the old behavior (D56501290 samzhou19815)