Skip to content
#

hoc

Here are 344 public repositories matching this topic...

react-sizes
such
such commented Jul 17, 2018

Hey,

Thanks a lot for this library!
It appears that you do not copy static methods as described here: https://reactjs.org/docs/higher-order-components.html#static-methods-must-be-copied-over
It seems the convention is that all HOC should do that. The behaviour is somewhat unexpected otherwise.
Are you planning on adding it to the library?

In the meantime, I'm using this workaround:

Improve this page

Add a description, image, and links to the hoc topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the hoc topic, visit your repo's landing page and select "manage topics."

Learn more