flow
- Repo stars 245,422
- Author repo react
- Domain
- Other
- Author-declared agents
- No explicit declaration found; this is not inferred or tested compatibility
- Static check
- 88 / 100 · heuristic scan, not runtime safety proof
- Runtime evidence
- Not run; no isolated runtime test evidence is currently recorded
- Author / version / license
- @facebook · no license declared
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- macOS · Linux · Windows
- Runtime requirements
- Node.js
- Detected file/system behavior
-
- Read-only
- Network behavior
- Local-only
- Install commands
- None (reference only)
Heads up: Tool permissions are not declared; actual access depends on the runtime.
# Flow Type Checking
Arguments:
- $ARGUMENTS: Renderer to check (default: dom-node)
## Renderers
| Renderer | When to Use |
|----------|-------------|
| `dom-node` | Default, recommended for most changes |
| `dom-browser` | Browser-specific DOM code |
| `native` | React Native |
| `fabric` | React Native Fabric |
## Instructions
1. Run `yarn flow $ARGUMENTS` (use `dom-node` if no argument)
2. Report type errors with file locations
3. For comprehensive checking (slow), use `yarn flow-ci`
## Common Mistakes
- **Running without a renderer** - Always specify or use default `dom-node`
- **Ignoring suppressions** - Check if `$FlowFixMe` comments are masking real issues
- **Missing type imports** - Ensure types are imported from the correct package
Sections and files
Listed in source order.
sections -> Renderers → Instructions → Common Mistakes
terms -> Running without a renderer · Ignoring suppressions · Missing type imports · 1. Run yarn flow $ARGUMENTS (use dom-node if no argument) 2.
files/cmd -> dom-node · dom-browser · native · fabric · yarn flow $ARGUMENTS · yarn flow-ci · $FlowFixMe
body sha256 -> cfbfd5b5fc1a
Renderers
Renderer · When to Use
dom-node· Default, recommended for most changesdom-browser· Browser-specific DOM codenative· React Nativefabric· React Native FabricInstructions
Run
yarn flow $ARGUMENTS(usedom-nodeif no argument) Report type errors with file locations For comprehensive checking (slow), useyarn flow-ciCommon Mistakes
Running without a renderer - Always specify or use default
dom-nodeIgnoring suppressions - Check if$FlowFixMecomments are masking real issues Missing type imports - Ensure types are imported from the correct package