Closed lightningspirit closed 1 year ago
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.
ReactShadow
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.