Code
How react/react-native is laid out, and where to start for common changes.
There is no import map for this report yet.
Where to start reading
- Repository root
- Repository root
- Likely public API
- Likely public API
- Likely start-up file
- Likely start-up file
- Suggested starting pointAI
- Suggested starting pointAI
Find files for a task
AIAdd a new UI component
- Export component through main react-private-interface.js if intended for public API
Add animation support to a component
- Define animated properties compatible with NativeAnimatedHelper via NativeAnimatedValidation
- Test animation performance against warnOnRepeatedSafeAreaInsetsChanges patterns to avoid redundant updates
Add a new event type or responder behavior
- Define event type mapping in ReactNativeEventTypeMapping
- Implement responder logic in ReactNativeResponder or ResponderTouchHistoryStore
- Route dispatched events through dispatchNativeEvent entry point
Gate a feature with a feature flag
- Add flag definition to base flags file
- Access flag resolution through ReactNativeFeatureFlags main module
Change the public API
Trace runtime behavior
Add or update tests
Change build or automation
RepoPilot lists up to 500 files, so a file missing here may still exist.
- Files marked “likely” are guessed from their names.
- The file list is newer than the written guide, so descriptions and suggested changes may describe older code.