Config
@expo/config
A library for interacting with the app.json
React Native Libraries
json
react-native
expo
react
@expo/config
React Native Libraries
javascript
npm
frontend
open source
Stars
1
Weekly
0
Open issues
0
Bundle
~60 kB
Installation
npm install @expo/configCode example
import { View, Text, StyleSheet } from "react-native";
import { Config } from "@expo/config";
export function Example() {
return (
<View style={styles.box}>
<Text style={styles.title}>Config</Text>
<Config />
</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 ide
- 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
- 0 open issues on GitHub