Absolute fill component in React Native If you see yourself repeating this over and over: const styles = StyleSheet.create({ backgroundImage: { position: 'absolute', top: 0, right: 0, bottom: 0, left: 0, }, })JavaScript Replace it with: const styles = StyleSheet.create({ backgroundImage: { ...StyleSheet.absoluteFillObject, }, })JavaScript Tweet