mkuczera / react-native-haptic-feedback

React-Native Haptic Feedback for iOS with Android similar behaviour.
MIT License
861 stars 106 forks source link

Updating iOS to cache generators (lazy-load) for better performance #49

Closed SteffeyDev closed 4 years ago

SteffeyDev commented 4 years ago

Resolves #42

This increases performance on iOS in two ways:

I use impactLight in my app and can call it 20-30 times in 1 second. This change made a huge difference, changing it from stuttering haptic feedback to smooth and consistent.