What difference between:
import { FlatList } from "react-native";
and
import { FlatList } from "react-native-gesture-handler";
react-native-gesture-handler is more performant with gestures in comparison to react-native's, as they run on the native thread instead of the JS thread.
With react-native's gesture handler, JS handles the event and sends it through the bridge. react-native-gesture-handler will have the native thread directly handle the event.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With