React Native
react-native
A framework for building native apps using React
React Native Libraries
react
react-native
android
ios
mobile
cross-platform
app-framework
mobile-development
React Native Libraries
javascript
Stars
127k
Weekly
12M
Open issues
1184
Bundle
~15 kB
Installation
npm install react-nativeCode example
import { View, Text, StyleSheet } from "react-native";
import { Native } from "react-native";
export function Example() {
return (
<View style={styles.box}>
<Text style={styles.title}>React Native</Text>
<Native />
</View>
);
}
const styles = StyleSheet.create({
box: { flex: 1, alignItems: "center", justifyContent: "center", gap: 8 },
title: { fontSize: 18, fontWeight: "600" },
});Pros & cons
Pros
- Actively maintained by react-native-bot
- 12M weekly downloads. Battle tested
- MIT licensed
Considerations
- Adds roughly ~15 kB to your bundle
- Needs client-only rendering in SSR frameworks
- 1184 open issues on GitHub