extract-errors
Extract and manage error codes for React applications.
- Automatically extracts error messages from React source code and assigns unique error codes to new messages
- Detects "unknown error code" warnings and flags messages that need code assignment
- Validates that error codes remain synchronized with the current codebase through a simple yarn command
Extract Error Codes
Instructions
- Run
yarn extract-errors - Report if any new errors need codes assigned
- Check if error codes are up to date
More from facebook/react
fix
Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.
1.7Kverify
Use when you want to validate changes before committing, or when you need to check all React contribution requirements.
886test
Use when you need to run tests for React core. Supports source, www, stable, and experimental channels.
883feature-flags
Use when feature flag tests fail, flags need updating, understanding @gate pragmas, debugging channel-specific test failures, or adding new flags to React.
846flow
Use when you need to run Flow type checking, or when seeing Flow type errors in React code.
826flags
Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.
783