DEV Community

Discussion on: React Higher-Order Components in TypeScript made simple

Collapse
 
stunaz profile image
stunaz

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

I could not get my typings working using compose.

Collapse
 
danhomola profile image
Dan Homola

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).