flow

द्वारा facebook

React कोड के लिए DOM और नेटिव प्लेटफ़ॉर्म पर स्टैटिक टाइप चेकिंग। चार रेंडरर विकल्प मानक DOM, ब्राउज़र-विशिष्ट कोड, React Native और Fabric वातावरण को कवर करते हैं। वैकल्पिक रेंडरर आर्गुमेंट के साथ yarn flow चलाएं; व्यापक लेकिन धीमी जांच के लिए yarn flow-ci का उपयोग करें। फ़ाइल स्थानों के साथ टाइप त्रुटियों की रिपोर्ट करता है ताकि समस्याओं को जल्दी पहचाना और ठीक किया जा सके। सामान्य नुकसानों पर ध्यान दें: लापता

npx skills add https://github.com/facebook/react --skill flow

Flow Type Checking

Arguments:

  • $ARGUMENTS: Renderer to check (default: dom-node)

Renderers

RendererWhen to Use
dom-nodeDefault, recommended for most changes
dom-browserBrowser-specific DOM code
nativeReact Native
fabricReact 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

facebook की और Skills

api-health
facebook
Monitor API health for a Meta app — check rate limits, call volume, and API deprecations. Use to diagnose throttling, plan capacity, or prepare for API version…
official
api-integration
facebook
किसी डेवलपर को शुरू से Meta API इंटीग्रेशन सेट करने में मार्गदर्शन करें — सही APIs खोजें, सेटअप गाइड प्राप्त करें, प्रमाणीकरण आवश्यकताएँ,…
official
app-review-prep
facebook
Prepare a Meta app for App Review — checks current status, outstanding requirements, granted privileges, and submission history. Use before submitting an app…
official
debug-webhooks
facebook
Troubleshoot webhook issues for a Meta app — inspect active subscriptions, identify misconfiguration, and send test payloads to verify delivery. Use when…
official
webhook-setup
facebook
Set up webhooks for a Meta app end-to-end — discover available topics, subscribe to fields, and verify with a test payload. Use when configuring webhooks for…
official
buck2-rule-basics
facebook
उपयोगकर्ताओं को उनका पहला Buck2 rule लिखने में मार्गदर्शन करें ताकि वे मूलभूत अवधारणाएँ सीख सकें, जिनमें rules, actions, targets, configurations, analysis और select() शामिल हैं। उपयोग…
official
add-ir-instruction
facebook
Guide for adding a new IR instruction to the Hermes compiler. Use when the user asks to add, create, or define a new IR instruction (Inst/Instruction) in the…
official
binary-size-analysis
facebook
This skill should be used when the user wants to analyze hermesvm binary size changes across a range of commits. Use when the user mentions "binary size",…
official