Fixes a regression introduced in the following commit to avoid directly
depending on the 'react-dom' entry file:
d65c92eea9
Injecting ReactDefaultInjection adds ~25 KB back to the UMD build.
Fix#263
Builds on the exclusion of PropTypes from production builds:
- Remove 'lodash' and use smaller modules for equivalent functions.
- Remove use of some unnecessary Facebook utilities.
- Remove 'TouchableBounce'; it isn't part of React Native anymore.
- Remove stray import of 'react-dom/server'.
- Exclude 'StyleSheetValidation' from production.
Measuring the UMD build (gzip)…
Before: ~100KB
After: ~60KB
Depend on 'animatedjs/animated' for the Animation implementation. This
patch also replaces 'es6-set' with a small shim to reduce impact on
production bundle size.
Fix#95