A typed dialect of JavaScript.

Joined November 2014
9 Photos and videos
👀 Is this Flow, or TypeScript? Is Flow coming back? - Flow syntax aligns with TypeScript - Flow has pattern matching - Useful React hooks/component/renders syntax - Compiler has been recently ported to Rust I'll keep an eye on it for you, but this is promising!
JavaScript Pattern Matching with `match`, available now: medium.com/flow-type/javascr…
8
4
135
21,103
If your "Flow vs TypeScript" take is from 2021, it's out of date. Flow looks like TypeScript now - but it has pattern matching and React component syntax, while catching runtime crashes TypeScript waves through. Examples below. 👇
2
10
45
6,688
Another: TypeScript only validates the signature of a type-guard, not the body. Flow validates the body and rejects predicates that lie about what they check.
2
1
11
1,029
SWC has added support for Flow: swc.rs/docs/usage/flow

5
23
9,629
Flow retweeted
The render types section of the blog post doesn't even go all that in depth. This is contrived for the sake of conciseness but really pay attention to what this code is expressing and understand how buck wild it is that we can express this with complete type safety!
3 Apr 2024
We added new language features to Flow for writing React. Learn about our new Component Syntax: medium.com/flow-type/announc…
1
2
20
4,622
3 Apr 2024
We added new language features to Flow for writing React. Learn about our new Component Syntax: medium.com/flow-type/announc…
12
42
237
198,687
7 Mar 2024
Flow now supports Type Guards (functions that can be used to narrow a type)! Unlike @TypeScript, we run checks on the body of the function to catch some invalid definitions. medium.com/flow-type/announc…
5
26
4,576
Flow retweeted
Replying to @flowtype
@flowtype is now releasing some TS features before TS! xD github.com/facebook/flow/rel…: > Flow now supports the same NoInfer intrinsic that will be available in TypeScript 5.4.
2
8
1,195
5 Mar 2024
Flow now supports Conditional Types, which allow you to choose an output type based on an input type - like a ternary expression for types: medium.com/flow-type/announc…
2
5
37
5,016
19 Sep 2023
We’ve refreshed our documentation (flow.org/en/docs/) , and added the ability to configure options and lints in Try Flow (flow.org/try/)! medium.com/flow-type/5da5e48… Website is now built with @docusaurus
3
7
2,214