162 Commits

Author SHA1 Message Date
Nicolas Gallagher c4f2869ad8 0.0.77 2017-03-09 18:20:07 -08:00
Nicolas Gallagher b7d3f0d099 0.0.76 2017-03-06 12:31:41 -08:00
Nicolas Gallagher b408bc5537 Use a package for style name hyphenation
The 'hyphenate-style-name' packages is already a dependency of
'inline-style-prefixer', so we don't need our own implementation.
2017-03-02 19:10:05 -08:00
Nicolas Gallagher a2f25a46c4 Reformat 'performance' and 'src' code 2017-03-02 18:59:33 -08:00
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 26bc8173f0 0.0.75 2017-02-27 23:11:30 -08:00
Nicolas Gallagher f391031fb1 0.0.74 2017-02-27 14:55:34 -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 24eda7c4ad 0.0.73 2017-02-24 12:35:18 -08:00
Nicolas Gallagher f1f39bfabd 0.0.72 2017-02-18 11:34:33 -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 701ecb7c52 0.0.71 2017-02-17 08:54:33 -08:00
Nicolas Gallagher 1e9536b611 0.0.70 2017-02-06 17:15:43 -08:00
Nicolas Gallagher c9c1aab97e Rearrange propType imports 2017-02-05 16:50:06 -08:00
Nicolas Gallagher 2a4d1c81d8 0.0.69 2017-01-28 11:01:23 -08:00
Nicolas Gallagher 5f6b4a746a Update webpack-bundler-analyzer 2017-01-13 13:21:23 -08:00
Nicolas Gallagher a94367bdcb 0.0.68 2017-01-11 13:12:25 -08:00
Nicolas Gallagher 7c83ba162d 0.0.67 2017-01-08 18:40:02 -08:00
Nicolas Gallagher 50a70ad02f 0.0.66 2017-01-07 19:05:54 -08:00
Nicolas Gallagher c56b472258 [change] depend on normalize-css-color
Fix #308
2017-01-07 18:00:17 -08:00
Nicolas Gallagher a1017fa785 0.0.65 2017-01-04 18:25:39 -08:00
Nicolas Gallagher 4ef5453b33 0.0.64 2017-01-04 10:58:15 -08:00
Nicolas Gallagher 4cc1c983e8 0.0.63 2017-01-02 23:44:10 -08:00
Nicolas Gallagher 8eaaf28a32 0.0.62 2017-01-01 20:45:45 -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 bc68b0b6f4 0.0.61 2016-12-27 18:09:11 +00: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 7cda89c5ce 0.0.60 2016-12-16 12:15:23 +00:00
Nicolas Gallagher 22ab70ea6f 0.0.59 2016-12-14 17:42:15 +00:00
Nicolas Gallagher c30b67f6db 0.0.57 2016-12-12 15:10:39 +00:00
Nicolas Gallagher 5c482ef3be 0.0.56 2016-12-08 18:29:38 -08:00
Nicolas Gallagher 6bffe1775f Fix lint error 2016-12-07 16:49:53 -08:00
Maxime Thirouin 945fff0015 Add source files to published package 2016-11-25 12:38:29 -08:00
Nicolas Gallagher 8c7cdbf4be 0.0.55 2016-11-24 10:24:19 -08:00
Nicolas Gallagher cda8d05bb7 0.0.54 2016-11-24 08:42:53 -08:00
Nicolas Gallagher f5f9389728 0.0.53 2016-11-22 17:46:57 -08:00
Nicolas Gallagher 36eafbc2f5 0.0.52 2016-11-22 17:10:14 -08:00
Nicolas Gallagher bca3398c1c Correct devDependencies 2016-11-22 17:08:04 -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 8dd39c681c [change] allow propTypes to be removed in production builds
Fix #254
2016-11-22 16:57:22 -08:00
Nicolas Gallagher 4005f9ddde 0.0.51 2016-11-21 12:42:58 -08:00
Nicolas Gallagher f192a9ba26 [fix] Depend on React@15.3
React@15.4 includes changes that prevent the ResponderEventPlugin from
being properly injected, which breaks Touchables and PanResponder.

Fix #257
2016-11-21 12:38:37 -08:00
Nicolas Gallagher e688a949fb 0.0.50 2016-11-20 14:00:42 -08:00
Nicolas Gallagher fa14995a35 Use jest for testing
Thanks to @paularmstrong:
https://github.com/necolas/react-native-web/pull/249
2016-11-09 10:00:49 -08:00