ui
react-native-orientation-locker
ui | react-native-orientation-locker | |
---|---|---|
1 | 1 | |
4,877 | 731 | |
0.1% | - | |
7.7 | 5.6 | |
8 days ago | 20 days ago | |
JavaScript | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ui
-
7 Popular React Native UI Component Libraries You Should Know
Shoutem provides a set of cross-platform components for iOS and Android, and all components are built to be both composable and customizable. Each component also has a predefined style that is consistent with the rest, which makes it possible to build complex components without manually defining complex styles.
react-native-orientation-locker
-
useScreenOrientation - React Native Snippet
Below I set up a useEffect that only fires once because it has no dependencies and then set up two listeners, one for iOS that uses react-native-orientation-locker and another for Android that uses the dimensions event listener from React Native itself (Don't forget to remove the listeners when the hook is destroyed). Basically, then on a screen orientation change we set the state to the correct OrientationType(PORTRAIT, PORTRAIT-UPSIDEDOWN, LANDSCAPE-LEFT, LANDSCAPE-RIGHT). For Android we just check the height against the width to discern whether it's in portrait or landscape. Of course, if when you read this, that react-native-orientation-locker is working consistently for Android then you won't need any of this specific Android code.
What are some alternatives?
react-native-responsive-screen - Make React Native views responsive for all devices with the use of 2 simple methods
react-native-swipe-list-view - A React Native ListView component with rows that swipe open and closed
rn-icon-gen-tool - CLI tool for react native to generate app icons based on an image, Both Android and IOS are supported
react-singleton-hook - Create singleton hook from regular react hook
react-native-navigation-directions - A simple module that allows you to open the default navigation app(IOS: Apple Maps, Android: Google Maps) with drive direction between two points.
react-native-modal-datetime-picker - A React-Native datetime-picker for Android and iOS
react-native-text-ticker - React Native Text Ticker/Marquee Component
react-native-material-ui - Highly customizable material design components for React Native
react-native-cert-pinner - Strengthens TLS in React Native through Certificate Pinning
Detox - Gray box end-to-end testing and automation framework for mobile apps
RNHoroscope - Beautiful Horoscope App written in React Native & Redux
react-native-firebase - 🔥 A well-tested feature-rich modular Firebase implementation for React Native. Supports both iOS & Android platforms for all Firebase services.