Nicolas Gallagher
29d52f5b31
Remove formatting rules from eslint config
2017-03-02 18:59:32 -08:00
Nicolas Gallagher
ba6be1f64a
Install prettier code formatter
2017-03-02 18:59:32 -08:00
Nicolas Gallagher
18440158b3
Add comparative performance benchmarks
...
Includes a 'css-modules' implementation of the nested trees to act as a
baseline for comparison.
2017-02-26 17:19:43 -08:00
Nicolas Gallagher
418a1a9516
[change] depend on animated@0.2.0
2017-02-17 13:28:51 -08:00
Nicolas Gallagher
8762f8e9c8
[change] depend on inline-style-prefixer@3.0.0
2017-02-17 13:28:49 -08:00
Nicolas Gallagher
6d2ae4597e
Update babel packages
2017-02-17 12:04:30 -08:00
Nicolas Gallagher
c9c1aab97e
Rearrange propType imports
2017-02-05 16:50:06 -08:00
Nicolas Gallagher
5f6b4a746a
Update webpack-bundler-analyzer
2017-01-13 13:21:23 -08:00
Nicolas Gallagher
af5fde994d
Fix yarn.lock
2017-01-07 18:25:54 -08:00
Nicolas Gallagher
c56b472258
[change] depend on normalize-css-color
...
Fix #308
2017-01-07 18:00:17 -08:00
Nicolas Gallagher
16d448dc5b
Update various dependencies
2017-01-01 20:45:14 -08:00
Nicolas Gallagher
b1cd92a65d
[change] update Animated
...
Fix #309
2017-01-01 18:35:18 -08:00
Nicolas Gallagher
d87f71ebc1
[change] StyleSheet performance rewrite
...
Improves StyleSheet benchmark performance by 13x. Removes undocumented
`StyleSheet.resolve` API.
Typical mean (and first) task duration.
[benchmark] DeepTree: depth=3, breadth=10, wrap=4)
-master 2809.76ms (3117.64ms)
-patch 211.2ms (364.28ms)
[benchmark] DeepTree: depth=5, breadth=3, wrap=1)
-master 421.25ms (428.15ms)
-patch 32.46ms (47.36ms)
This patch adds memoization of DOM prop resolution (~3-4x faster), and
re-introduces a `className`-based styling strategy (~3-4x faster).
Styles map to "atomic css" rules.
Fix #307
2017-01-01 17:42:25 -08:00
Nicolas Gallagher
a2cafe56fc
Add initial performance benchmarks
...
Simple render tree benchmarks originally developed by @lelandrichardson
Fix #306
2017-01-01 14:43:47 -08:00
Nicolas Gallagher
44ecbc072e
[change] update React and Touchables
...
Update to React@15.4. The 'EventConstants' module no longer exports a
key-mirror, which was preventing the 'ResponderEventPlugin' from working
as it did with React@15.3.
Close #255
2016-12-27 17:57:27 +00: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
8dd39c681c
[change] allow propTypes to be removed in production builds
...
Fix #254
2016-11-22 16:57:22 -08:00
Nicolas Gallagher
8352c7cbda
Use yarn for dependency management
2016-11-21 17:10:50 -08:00