Just some things I found useful in my react-native development.
- LockToPortrait.ts uses the
react-native-orientation
plugin and the event inreact-navigation-stack
- TextToFit.tsx a bit of a kludge, reduces font size by a 0.25 until it fits the required size. Uses opacity to hide until it's rendered