
Explain how you would implement a new feature in React Native. Cover how you would break the feature into components, decide where state should live, process user input, and structure the code so it remains maintainable as requirements expand.
Component decompositionState management choicesArray-based data transformation for renderingHash-table-style lookup for efficient updatesString handling for search and validationSeparates container logic from presentational componentsChooses local vs shared state intentionallyExplains filtering, mapping, or sorting data before renderingMentions efficient lookup by id when neededHandles loading, empty, and error states cleanly