Skip to content

Successor Map · Languages and runtimes

Flow to TypeScript: an actively developed checker some teams left

Flow is still developed and used in production at Meta, so nothing here is end of life. Stripe moved to TypeScript for tooling reasons and converted millions of lines in a single change.

Slide: Flow on the left, an arrow, and TypeScript on the right.
Status of the old tool
Still active
Effort to move
A real project
gen2.dev's view
Move when convenient
Sources checked
2026-11-28

Key facts

Gen 1Flow, the static type checker for JavaScript from Meta
Gen 2TypeScript
Kind of toolLanguages and runtimes
Status of Gen 1Still active The Flow home page, read on November 28, 2026, shows version v0.343.0 and says Flow is used in production at Meta, and the repository is not archived.
Effort to moveA real project: plan it and run both for a while
What breaksThe two type systems do not agree everywhere, so a converted codebase starts with thousands of suppressed type errors that have to be worked down.
Should you move?Move when convenient Flow is actively developed, so there is no deadline; the case for moving is the editor and tooling experience that teams such as Stripe reported. This is gen2.dev's view, not the maintainers'.
Sources checked2026-11-28, 5 sources

Gen 1 and Gen 2 side by side

npm registry Gen 1 Gen 2
Packageflow-bintypescript
Latest version0.343.07.0.2
Latest releaseNov 26, 2026Jul 8, 2026
First releaseNov 18, 2014Oct 1, 2012
LicenseMITApache-2.0
Downloads, last week419,105416,002,589

Read from each package registry on November 29, 2026. Downloads include automated installs such as build servers, so compare them as a trend, not a head count.

What Gen 1 was

Flow is Meta's type checker for JavaScript. Its README says, "Flow is a static typechecker for JavaScript." You add type annotations to JavaScript and Flow checks them.

It is Gen 1 only in the sense that some teams have been there and left. The Flow home page says it is "Used in production at Meta across millions of files of JavaScript and React."

What replaced it

TypeScript, for the teams that have published an account of leaving.

Flow itself has not stopped. Its blog lists posts through May 29, 2025, its home page shows version v0.343.0, and the README says Flow is written in Rust. The home page now describes Flow as "a typed dialect of JavaScript" and adds, "It looks like TypeScript now."

On direction, Flow's blog carries a post dated May 25, 2021 titled "Clarity on Flow's Direction and Open Source Engagement." The site now marks that post as historical and says it "may not reflect the current state of the project." The contributing guide asks anyone proposing more than a library definition or documentation change to open a discussion issue first, to ensure the work "aligns with the Flow team's goals."

What moving involves

Stripe published the clearest account. Its reason was daily friction: "The type checker's memory usage would lock up laptops, and the in-editor integration was frequently slow and unreliable."

It did not convert file by file. "In a single pull request, we converted more than 3.7 million lines of code." The tool was a codemod, a script that parses Flow code and writes TypeScript, which Stripe copied from Airtable's open-source version and adapted to its own code.

That is a cutover, not a gradual migration, and it needs the preparation of one: a rehearsed conversion, a freeze on other changes, and a way back.

What breaks

A codemod translates syntax. It cannot make two type systems agree. Stripe's first pass "created over 97,000 error suppressions," which the team worked down to 37,000, about one per thousand lines.

Behavior can change too. During testing, Stripe found that the converted Dashboard was failing to load translations for users who were not reading it in English.

Expect the suppressions to be the long tail of the project. Each one marks a place where the checker is not checking.

Should you move?

Move when it is convenient, not because of a deadline. Flow is actively developed, and a team that is productive with it has no reason to hurry.

The exception in one direction is a team whose editor tooling or hiring is suffering now, which should plan the move as a project. The exception in the other is a codebase closely tied to Meta's own tools and conventions, where Flow remains the supported path.

Common questions

Is Flow dead?

No. Its maintainers have not announced an end. The Flow home page, read on November 28, 2026, shows version v0.343.0 and says Flow is used in production at Meta, and the repository is not archived.

What replaced Flow?

TypeScript. Effort to move: A real project: plan it and run both for a while

Should I move off Flow?

gen2.dev's view: Move when convenient. Flow is actively developed, so there is no deadline; the case for moving is the editor and tooling experience that teams such as Stripe reported.

Sources

  1. Flow home page - flow.org - Describes Flow as a typed dialect of JavaScript that looks like TypeScript now, says it is used in production at Meta, and shows version v0.343.0.
  2. Flow blog - flow.org - The list of posts, the most recent dated May 29, 2025, and the May 25, 2021 post on Flow's direction, which the site marks as historical.
  3. facebook/flow README - GitHub - Describes Flow as a static typechecker for JavaScript and says Flow is written in Rust; the repository is public and not archived.
  4. facebook/flow CONTRIBUTING - GitHub - Asks contributors to open a discussion issue first for anything that is not a library definition or documentation change.
  5. Migrating millions of lines of code to TypeScript - Andrew Lunny, Stripe (May 20, 2022) - Why Stripe left Flow, the single pull request of more than 3.7 million lines, the codemod used, the suppression counts and a bug found in testing.
  6. flow-bin - npm - latest version, release dates, license and last week's downloads, read on November 29, 2026
  7. typescript - npm - latest version, release dates, license and last week's downloads, read on November 29, 2026

Sources checked on 2026-11-28. Tools change status quickly; if this date is old, read the sources before acting on it.