Open felixmosh opened 5 years ago
@felixmosh react-deco
is the responsible of the 33.1% of the weight of this library. I wonder how smaller it will be, regarding typescript adds headers for classes and stub for method definitions when compiling to ES5, and both (Image and Defer) components are stateful.
I need more votes for this issue. Though, I'm curious to know how smaller it will be.
@felixmosh I think it is time to reopen this issue now that React hooks are adopted by the community we can get rid of react-deco
PR is welcome!
First of all, thank you for this awesome lib!
This lib can be ~50% smaller by removing the dep on react-deco.
If you agree I will create a PR for that.