Wildhoney/ReactShadow

Remove react-use dependency due to package size

lightningspirit opened this issue · 0 comments

The react-use package includes almost 0.5 MB of dependencies which unnecessarily increases the bundle size for this lib. ReactShadow only uses useEnsuredForwardedRef function which is a simple one and could be "copy-pasted" as a standalone function.