LinthelmIntroductions to linters, static analysis and code-quality tools

Type checkers

What is Flow? An introduction to Meta's typed dialect of JavaScript

By the Linthelm editorial team · Published · Updated

Flow is a typed dialect of JavaScript with a static type system and first-class language constructs, built for safety and scale. It comes from Meta and is used in production there across millions of files of JavaScript and React. It supports TypeScript-like syntax and adds features such as built-in component syntax and pattern matching.

Tool
Flow
Made by
Meta
Official site
flow.org
Category
Type checkers

Who makes Flow

Flow is made by Meta, where it is used in production across millions of files of JavaScript and React.

The official website, flow.org, is linked below.

Official website: flow.org

What Flow is for

Flow is for catching type errors in JavaScript before the code runs. It treats typing as part of the language itself, offering a static type system and first-class language constructs rather than a loosely attached checker.

It is aimed at safety and scale. Its use across millions of files of JavaScript and React at Meta shows the kind of codebase it is built to handle.

It can be tried in the browser, which is a low-effort way to see how its types behave before adopting it.

Who Flow is for

The vendor lists JavaScript and React developers, and TypeScript users, as the audience. React developers benefit from syntax built for their components, and TypeScript users will find familiar constructs.

Flow supports TypeScript-like syntax such as keyof, readonly props and unknown. That overlap lowers the cost of reading and writing Flow code for people who already know TypeScript.

Notable capabilities

Flow combines familiar type syntax with React-specific constructs and stricter defaults. These are the capabilities described in its facts.

  • TypeScript-like syntax: it supports keyof, readonly props and unknown.
  • Advanced type features: it also supports conditional types, mapped types and type guards.
  • React components: component and renders are built into Flow's syntax for React.
  • Design-system rules: design-system composition rules become type errors.
  • Pattern matching: Flow provides pattern matching via match, usable as an expression or a statement.
  • Exhaustive checking: match is exhaustively checked and uses structural patterns.
  • Exact objects: object types are exact by default.
  • Method safety: Flow preserves the receiver constraint on methods and rejects unsafe detached calls.

How Flow fits type checkers

Type checkers verify that code uses values in ways their types allow. Flow does this for JavaScript, and it differs from a standalone checker in that it is a typed dialect: the type syntax is part of the language you write.

In Linthelm's wider niche of linters, static analysis and code quality, Flow represents the typed-language approach to static analysis. Its checks are enforced through the type system, so rules such as design-system composition become type errors instead of review comments.

Its stricter defaults, such as exact object types and exhaustively checked pattern matching, push code toward fewer unhandled cases. That makes it a code quality tool as much as a type checker for teams working in JavaScript and React.

Frequently asked questions

What is Flow used for?

Flow is used to add a static type system to JavaScript. It is a typed dialect of JavaScript built for safety and scale, and it is used in production at Meta across millions of files of JavaScript and React.

Who develops Flow?

Flow is made by Meta.

Does Flow support TypeScript-like syntax?

Yes. Flow supports syntax such as keyof, readonly props and unknown, along with conditional types, mapped types and type guards.

Does Flow have special support for React?

Yes. Component and renders are built into Flow's syntax for React, and design-system composition rules become type errors.

Can I try Flow without installing it?

Yes. Flow can be tried in the browser.

Sources. This introduction is based on the vendor's official pages, checked on 21 November 2026 (Asia/Dhaka):

Linthelm is independent and is not affiliated with Meta. Product names belong to their owners. Features change; confirm details on the official website.