Define styles using EStyleSheet.create() instead of StyleSheet.create(): /* component.js */ import EStyleSheet from 'react-native-extended-stylesheet'; // define extended styles const styles = EStyleSheet.create({ column: { width: '80%' // 80% of screen width }, text: { color: '$...
Shall I memoize() the sheet if the only vars changing are media-queries related. How to do it?#11 vitaletsmentioned this issueJun 17, 2016 abdallahmadded a commit to abdallahm/react-native-extended-stylesheet that referenced this issueJul 27, 2016 ...
Define styles using EStyleSheet.create() instead of StyleSheet.create():/* component.js */ import EStyleSheet from 'react-native-extended-stylesheet'; // define extended styles const styles = EStyleSheet.create({ column: { width: '80%' // 80% of screen width }, text: { color: '$...