Without deep-diving, I think this is precisely the kind of package of which there should be more, and why I wrote this article.
I think React 16.7’s introduction of hooks can make this package’scollect
HOC obsolete. I think afterChange
is a brilliant addition for functionality.
I sympathize with the creator’s desire to use Proxy. It took a lot of self-control to avoid using it myself in reactn
. The browser support simply isn’t there yet. When it finally has a strong market share, I think JavaScript’s Proxy will make global state significantly more intuitive for developers. While it will damper current adoption, I am happy to see developers beginning to get creative with it.