Commit Graph

21 Commits

Author SHA1 Message Date
Nicolas Gallagher
864250f34d Format root .js files 2017-05-24 15:21:25 -07:00
Nicolas Gallagher
ed994dc670 Update 'getting-started' docs 2017-04-15 09:12:08 -07:00
Nicolas Gallagher
ab686e2a07 Update webpack 2017-04-13 18:30:37 -07:00
Nicolas Gallagher
d15dafc108 Build UMD bundle from source 2017-02-06 13:14:48 -08:00
Nicolas Gallagher
b1cd92a65d [change] update Animated
Fix #309
2017-01-01 18:35:18 -08:00
Nicolas Gallagher
e5d8857bcc [fix] inject ReactDefaultInjection
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
2016-11-24 10:21:40 -08:00
Nicolas Gallagher
722d77e8e5 Smaller production builds
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
2016-11-22 16:59:20 -08:00
Nicolas Gallagher
d65c92eea9 [change] prepare for react-dom@15.4.0
Don't depend directly on the 'react-dom' module as it will be prebuilt
in 15.4. Leave server-side rendering to 'react-dom/server'.
2016-11-22 16:57:28 -08:00
Nicolas Gallagher
8dd39c681c [change] allow propTypes to be removed in production builds
Fix #254
2016-11-22 16:57:22 -08:00
Nicolas Gallagher
f33312a4dd [change] Use animatedjs/animated
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
2016-06-23 15:10:43 -07:00
Nicolas Gallagher
1a670ba6a7 Fix UMD bundle
Include React and ReactDOM in the UMD bundle. The library occupies the
`React` global.

Fix #105
2016-03-22 18:39:24 -07:00
Nicolas Gallagher
c589d79035 Reorganize karma and webpack configs 2016-03-16 00:48:37 -07:00
Nicolas Gallagher
f951de43a2 Move config files 2015-09-03 19:36:43 -07:00
Nicolas Gallagher
1417dd2e6a Install eslint and fix code style 2015-09-02 17:15:05 -07:00
Nicolas Gallagher
92dbadacb5 Initial test framework setup 2015-09-01 14:44:42 -07:00
Nicolas Gallagher
36b6bd05af Remove unused import 2015-07-05 15:23:00 -07:00
Nicolas Gallagher
cb039d075f Reorganize modules 2015-06-14 23:02:55 -07:00
Nicolas Gallagher
cb0244ea72 Remove unnecessary build dependency 2015-06-11 18:01:18 -07:00
Nicolas Gallagher
fec8b04269 Extract CSS into external stylesheet 2015-06-09 23:36:21 -07:00
Nicolas Gallagher
78b23428bd Use postcss-modules-local-by-default 2015-06-09 14:08:48 -07:00
Nicolas Gallagher
90779f702a Initial implementation 2015-06-09 12:36:33 -07:00