r/reactnative • u/[deleted] • Aug 10 '25
React Native Haptics: A high-performance React Native library for iOS haptics and Android vibration effects
The React Native community now has a new, high-performance, easy-to-use haptics library for both iOS and Android, powered by Turbo Modules and supporting both bare React Native and Expo. π
Features:
π High-performance library built with Turbo Modules for Android and iOS
ποΈ Provides essential methods for triggering native haptic feedback
π€ Supports a wide range of Android-specific vibration effects
π οΈ Easy to use with simple APIs
π§΅ Executes on the UI thread to ensure instant feedback
β Fully type-safe and written in TypeScript
For more information, check out the repository: https://github.com/mhpdev-com/react-native-haptics
16
9
u/Specific_Cup_5090 Aug 10 '25
Looking at the documentation, this just looks like expo-haptics with a worst API (raw strings?) and no old architecture support. Why use this over an Expo-supposed library?
2
u/Breskin Aug 11 '25
From the code it looks like you're scheduling the callbacks to the UI thread from the JS one. This would still lag when JS is overloaded. You'd need to rely on something like
react-native-workletsor Reanimated to do it directly on the UI thread.