Core
@react-navigation/core
Core utilities for building navigators
React Native Libraries
react
react-native
react-navigation
@react-navigation/core
React Native Libraries
javascript
npm
frontend
open source
ui
Stars
25k
Weekly
0
Open issues
845
Bundle
~60 kB
Installation
npm install @react-navigation/coreCode example
import { View, Text, StyleSheet } from "react-native";
import { Core } from "@react-navigation/core";
export function Example() {
return (
<View style={styles.box}>
<Text style={styles.title}>Core</Text>
<Core />
</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 ericvicenti
- 0 weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~60 kB to your bundle
- Needs client-only rendering in SSR frameworks
- 845 open issues on GitHub