mrkeyoor.comAsk

facebook/flowtested 05 Oct 2026commit e94dea1

flow review

Evaluate Flow for an existing Flow codebase or a project that deliberately wants its checking model and syntax.

  • 126 packages
15 sto install
    Dev Toolsevaluationupdated 05 Nov 2026
    +1stars / 7d

    Flow is a static typechecker for JavaScript. It checks code using type annotations before you run it. Consider it for an existing Flow codebase or a project that deliberately chooses its syntax and compiler setup. Our repository installation did not verify application checking.

    Verdict

    Evaluate Flow for an existing Flow codebase or a project that deliberately wants its checking model and syntax. Our October 5, 2026, run at e94dea1 installed repository dependencies in 15 seconds and skipped build and tests. Before adopting or upgrading, check library definitions and exercise the pinned checker against representative application code. For a new project, compare that complete workflow with TypeScript.

    We ran it

    Lab card: what happened when we ran flow
    Lab card from our sandbox run
    Screenshot of flow (flow.org)
    flow.org
    Install✓ · 15s126 packages · 37 MB
    Buildn/ano build script
    Testsn/ano test script
    Repo19084 files~1,059,140 lines of source · 68.1 MB · 1 CI workflows · tests dir

    Answers from our run

    Does flow build from source?

    Dependencies installed in 15 seconds (126 packages), and the project has no separate build step. We cloned commit e94dea1 into a clean Debian container with 3 CPUs and no project-specific setup.

    Does flow have tests you can run?

    Not through a standard command: the project exposes no test script or target that our harness could run.

    Who should not use flow?

    Projects that cannot configure a compiler to remove Flow annotations before execution.

    What are the alternatives to flow?

    TypeScript, ESLint. Evaluate Flow for an existing Flow codebase or a project that deliberately wants its checking model and syntax.

    Setup4/5Our source checkout installed in 15 s with 126 dependencies, but we did not run a README task.Editor’s note: The dependency installation succeeded, but application setup and the native checker build were not exercised.
    Docs3/5The 2,174-character README has no usage instructions or examples of its own and points to separate documentation, which we did not assess.Editor’s note: The supplied instructions describe application and contributor setup, but neither route was reproduced to assess their completeness in practice.
    Community5/5Last push on 2026-11-05 and 22,318 stars.Editor’s note: The supplied push metadata and release show activity, but participation, maintainer response times and support capacity were not measured.
    Maturity3/5Latest release v0.338.0 on 2026-10-30 (pre-1.0) and repository created 2014-10-28.Editor’s note: The release documents compatibility changes, but checker correctness, application compatibility and long-running behavior were not measured.

    How we score

    Discussed on

    1. hnFacebook's Flow is being ported to Rust3 points
    2. hnFlow Match Statements3 points
    3. hnFlow v0.53.0 released3 points

    Who it’s for

    Teams maintaining Flow-typed JavaScript and evaluating a pinned checker version.
    React developers who want Flow's documented component syntax and can configure annotation removal.
    Tool authors who need the separately published flow-parser syntax tree.

    Who it’s NOT for

    Projects that cannot configure a compiler to remove Flow annotations before execution.
    Contributors expecting a Yarn dependency installation to verify the native checker build.
    Teams seeking measured checker performance or application compatibility from this review: neither was tested.

    Setup reality

    Our sandbox installed Flow's Yarn workspace in 15 seconds at commit e94dea1 on October 5, 2026, recording 126 dependencies and 37 MB on disk. Build and tests were skipped; the measurement record reports no matching script or target. This establishes dependency installation only.

    Application setup is separate: install flow-bin per project with explicit versioning, configure annotation removal, and initialize .flowconfig. The getting-started guide also says most library definitions are not bundled with Flow and are managed through flow-typed. Check the definitions your application needs.

    The supplied current README directs source contributors to the rust_port workspace with nightly Rust. That route was not executed in our sandbox. The recorded environment had 3 CPUs, 8 GB RAM and image label lab-node:22; the label does not establish actual runtime versions.

    Flow needs a compiler alongside its checker

    Flow's application setup requires a compiler to remove type annotations. Its getting-started guide documents Babel and flow-remove-types for that step. Before adopting Flow, decide how your project will maintain annotation removal alongside type checking.

    For an existing Flow codebase, that setup may already be in place. For a new application, evaluate the source syntax, compiler configuration and dependency definitions together. Most library definitions are not bundled with Flow; the guide says they are managed through flow-typed. Our repository installation does not resolve whether that workflow fits your application.

    What happened when we ran it

    Our sandbox installed Flow's Yarn workspace in 15 seconds at commit e94dea1 on October 5, 2026, recording 126 dependencies and 37 MB on disk. Build and tests were skipped because the measurement record reports no matching script or target. Neither step produced a passing result.

    The checkout contained 19,084 files, approximately 1,059,140 source lines and 68.1 MB. The scan detected monorepo workspaces, a tests directory and one CI workflow file, with no Dockerfile. Those signals describe the checkout; they do not establish that its checks pass. The skipped steps also do not establish that Flow lacks build or test facilities.

    The configured sandbox had 3 CPUs and 8 GB RAM, with image label lab-node:22. Actual runtime versions require raw toolchain logs. The record contains no measurement of checker latency, memory during rechecks or errors caught in an application. The dependency footprint applies only to this workspace installation.

    Choose between application checking and parser tooling

    The README describes flow-parser as a compiled-to-JavaScript module published to npm. It generates Flow's syntax tree with annotated types attached, and upstream says most Flow users will not need to use it directly.

    A source transformation or editor tool may need that parser. An application developer needs the checker to assess whether types agree. An annotated syntax tree alone does not establish type consistency.

    For application use, the getting-started guide recommends per-project installation with explicit versioning. It documents flow-bin, a project command and initialization of .flowconfig. Keep the chosen checker version and annotation-removal configuration under review together.

    Source contributors need a separate build route

    The supplied current README says GitHub CI builds Flow from the rust_port workspace with nightly Rust. It documents build and test commands there, plus an optional flow.js build requiring Emscripten, Node, Yarn and additional Rust tooling. These are upstream instructions, not steps verified by our October sandbox.

    The README lists binary distributions for macOS arm64, Linux x86_64 and arm64, and Windows x86_64. Check that list against your target before choosing between a distributed binary and a source build.

    Review v0.338.0 before upgrading

    Release v0.338.0, published October 30, 2026, removes several experimental configuration options. Its notes identify changes likely to cause new Flow errors. Static members can no longer reference their class's type parameters.

    Use those notes to choose upgrade fixtures from your own code. The release postdates our October 5 run, and the installation record does not establish that v0.338.0 was installed or exercised. The supplied November 5 push metadata and October 30 release show repository activity; they do not establish support response times or upgrade compatibility.

    Compare workflows before choosing

    TypeScript adds optional types to JavaScript and compiles to readable, standards-based JavaScript. Consider it when you want TypeScript source and its compiler as your application workflow. The supplied evidence contains no comparative checker benchmark or migration measurement.

    ESLint identifies and reports patterns in JavaScript code through configurable rules. Consider it when rules address the problem you need to catch. Its documented role differs from Flow's type checking, and the Flow guide includes instructions for using ESLint alongside Flow.

    Before adopting or upgrading Flow, choose a representative module with a dependency boundary. Configure annotation removal, select an explicit checker version, initialize .flowconfig and check the required library definitions. Under the guide's basic configuration, mark the module with // @flow so it is included in checking. Introduce a type mismatch, check that the editor and automated command report it, then confirm that the compiled JavaScript runs. This is a proposed application trial, not a test performed for this review.

    Alternatives

    ProjectWhat it isPick it when
    TypeScript gh↗Adds optional types to JavaScript and compiles to readable, standards-based JavaScript.Choose it when TypeScript source and its compiler fit the application workflow you want to maintain; evaluate representative code and dependencies before deciding.
    ESLint gh↗Identifies and reports patterns in JavaScript code through configurable rules.Choose it when lint rules address your problem. It can also accompany Flow rather than replace application type checking.

    What people are saying

    1. [velocity-scout] meta/flow
    2. [lobsters] Flow Typing, A New Lens on Linearity

    Sources

    1. Flow README
    2. Flow getting started
    3. Flow v0.338.0
    4. TypeScript README
    5. ESLint README

    More dev tools reviews