React native

Definition
React Native is an open-source framework created by Meta (formerly Facebook) for building mobile applications using JavaScript and React. It allows developers to write code once and deploy apps across iOS and Android platforms while delivering near-native performance. React Native uses native components rather than web views, making applications feel and perform more like traditional native apps.
For example, a developer can build a shopping app in React Native and deploy it simultaneously on both iOS and Android with a shared codebase.
Advanced
React Native bridges JavaScript code with native APIs, enabling developers to access device functions such as the camera, GPS, and push notifications. Its architecture uses a JavaScript thread that communicates with native modules, ensuring flexibility and high performance. Developers can also integrate third-party native modules for advanced functionality or performance enhancements.
Advanced practices include integrating React Native with TypeScript for type safety, optimising rendering with memoisation and virtualised lists, and managing state with Redux or Recoil. Developers often combine React Native with CI/CD pipelines for automated testing and deployment. While React Native covers most use cases, some apps may require custom native code for specific performance or hardware features.
Why it matters
Use cases
Metrics
Issues
Example
A fintech company uses React Native to build its mobile banking app. By sharing most of the code between iOS and Android, the team reduces development costs while still delivering native-like performance. This allows the company to launch faster and scale efficiently.