Migrating from deprecated apollo HOCs


What is the best way to migrate away from the deprecated hocs in apollo client?

It would be extremely difficult for us to use hooks, since all of our components are built on recompose and class based components, which would need a complete rewrite.

Do any of you know a still maintained drop-in replacement with zero or minimal changes required, for the graphql() hoc?

We also evaluated creating our own hoc implementation based on the deprecated one, but it doesn’t seem like an easy solution, if we want to cover all the features it has.

If anyone has a suggestion, or was in the same situation please let me know, thanks. :slightly_smiling_face: