react-native-gestures icon indicating copy to clipboard operation
react-native-gestures copied to clipboard

Use Higher Order Components (HOC) instead of Mixin

Open sibelius opened this issue 9 years ago • 3 comments

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

sibelius avatar Jun 20 '16 20:06 sibelius

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.

kiddkai avatar Jun 20 '16 21:06 kiddkai

@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

UADACID avatar Apr 23 '17 01:04 UADACID

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

assertchris avatar Sep 04 '17 12:09 assertchris