re: React Higher-Order Components in TypeScript made simple VIEW POST


Have you thought of using compose from recompose for componsing HOCs ?

I could not get my typings working using compose.


Unfortunately, I haven't. Reading the docs, they say it works similarly to lodash's flow, which I have used and also had problems with the types (they were too liberal, allowing for errors).

code of conduct - report abuse