en un clic
react-general
// General React and React Native engineering rules for Ledger Live. Read when writing or reviewing any .ts/.tsx file.
// General React and React Native engineering rules for Ledger Live. Read when writing or reviewing any .ts/.tsx file.
Create a pull request with proper description, changeset, and all required elements
Guided feature development with codebase understanding and architecture focus
Write unit and integration tests for Ledger Wallet apps. Use for Jest tests (Desktop/Mobile), MSW handlers and testing best practices. Applies to "*.test.*", "*.spec.*", "**/tests/**", "**/__tests__/**", "**/__integrations__/**", "**/jest-setup*"
Coin-specific families logic must live in families/. Generic UI uses the families contract only (no if (family === "evm") in shared code). Use this guidance for work in "**/families/**", "**/mvvm/**", "**/renderer/**" and "**/screens/**".
Prefer Set.has() over Array.includes() for constant allowlists/blocklists. Read this when reviewing or writing membership checks in TypeScript files.
Maintain CODEOWNERS file and team specific directories. Use when working with "**/team-*/**" file structure or to split an old file into team-specific parts
| name | react-general |
| description | General React and React Native engineering rules for Ledger Live. Read when writing or reviewing any .ts/.tsx file. |
These rules apply to all files, including those inside src/mvvm/. See mvvm-architecture for MVVM-specific structure.
rtk-query-api.ldls-native.ldls-web.useMemo.useCallback.React.memo.rtk-query-api.Platform.select for small platform variations; ensure behavior parity across iOS and Android.Animated and layout animations for performance.react-i18next consistently.