Closed realityking closed 5 years ago
Since react-side-effect 2.0 requires React 16, it can start using PureComponent. This brings the size of the minified UMD build down to 812 bytes - saving ~20% (0.2 KB).
react-side-effect
PureComponent
I just realised that this change also means some rolllup plugins can be removed. Added those changes as well.
LGTM. Good catch on the build script changes.
Since
react-side-effect
2.0 requires React 16, it can start usingPureComponent
. This brings the size of the minified UMD build down to 812 bytes - saving ~20% (0.2 KB).