react-redux
react-redux copied to clipboard
Improve treeshakeability of build artifacts
This PR:
- [X] Brings all of
devModeChecks
underneathprocess.env.NODE_ENV
checks to ensure they are erased during production builds. - [X] Adds
@__PURE__
annotation to some of the function call sites to improve treeshakeability. - [X] Adds
getUseIsomorphicLayoutEffect
with@__PURE__
annotation to improve further treeshakeability. - [X] Adds
@__PURE__
annotations to allreact-is
symbols. - [X] Sets
browser
field inpackage.json
to browser artifact. (Not sure if we want to keep thebrowser
artifact so if not let me know and I can get remove it).