kiddkai / react-native-gestures

Composable React Native Gestures
176 stars 40 forks source link

Use Higher Order Components (HOC) instead of Mixin #26

Open sibelius opened 8 years ago

sibelius commented 8 years ago

HOC can do everything that mixins can, but provides a better API

https://medium.com/@dan_abramov/mixins-are-dead-long-live-higher-order-components-94a0d2f9e750

kiddkai commented 8 years ago

Yup, I read this before. This is what react redux is doing right? I guess I will move the API to that if I got more time on this.

UADACID commented 7 years ago

@kiddkai sory, can you tell me how to make this lib works? or maybi projext example who using this lib, sory for my bad english

assertchris commented 7 years ago

I am working on a refactor which should fix this issue: https://github.com/kiddkai/react-native-gestures/pull/30