Back to Flow

New Flow Language Features for React

website/blog/2024-04-03-New-Flow-Language-Features-for-React.md

0.312.1516 B
Original Source

:::info[Historical] This post announced component and hook syntax for React when it was introduced. For current syntax and behavior, see the Component Syntax and Hook Syntax documentation. :::

Flow is excited to announce Component Syntax, adding first-class support for React primitives such as components and hooks to the Flow language. These features bring improved ergonomics, expressiveness, and static enforcement for many of the Rules of React.