flow 浏览器验证
- 作者仓库星标 245,422
- 作者仓库 react
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
- Run
yarn flow $ARGUMENTS(usedom-nodeif no argument) - Report type errors with file locations
- 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
$FlowFixMecomments are masking real issues - Missing type imports - Ensure types are imported from the correct package
- 流狐分类
- 通用
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @facebook · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- macOS · Linux · Windows
- 底层运行要求
- Node.js
- 检测到的文件与系统行为
-
- 只读
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Renderers
Renderer · When to Use dom-node · Default, recommended for most changes dom-browser · Browser-specific DOM code
Instructions
Run yarn flow $ARGUMENTS (use dom-node if no argument) Report type errors with file locations 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
# 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 证据边界与执行链路
作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Renderers → Instructions → Common Mistakes
要点 -> Running without a renderer · Ignoring suppressions · Missing type imports · 1. Run yarn flow $ARGUMENTS (use dom-node if no argument) 2.
文件/命令 -> dom-node · dom-browser · native · fabric · yarn flow $ARGUMENTS · yarn flow-ci · $FlowFixMe
内容 SHA-256 -> cfbfd5b5fc1a
原文结构
适用与边界
原文中的明确线索
dom-node、dom-browser、native、fabric、yarn flow $ARGUMENTS、yarn flow-ci、$FlowFixMe