Nicolas Gallagher
d04721c75a
Update yarn.lock
2018-01-23 13:01:48 -08:00
Nicolas Gallagher
8512709251
Fix benchmark picker touch target size in Safari
2018-01-23 12:24:56 -08:00
Nicolas Gallagher
efeaea70a9
Benchmarks include forced layout time
...
This change to 'benchmarks' reports the time taken to perform a forced
layout after mounting the tree. Adding a forced layout to the stress
tests can surface how different approaches to styling may affect browser
render timings.
The total time displayed is now the sum of "scripting time" (previously
total time) and "layout time". The layout time is a reflection of the
time the browser takes to perform a style recalculation and relayout of
the document.
The Benchmark component now has a 'forceLayout' prop. When it is 'true'
a forced layout is triggered on componentDidUpdate. The time taken is
added to the sample's timing data.
2018-01-23 12:24:18 -08:00
Nicolas Gallagher
a403244e67
Update benchmarks library dependencies
2018-01-23 09:49:48 -08:00
Oleg Slobodskoi
985c1d63b6
Add benchmarks update test for react-jss
...
Close #785
2018-01-23 09:11:38 -08:00
Nicolas Gallagher
9d8d4057f6
Benchmark app component optimizations
2018-01-22 15:52:37 -08:00
Nicolas Gallagher
ec8843fe90
Compute benchmark props before each iteration
...
Fix a bug in the logic that was meant to perform component prop
computation in-between cycles.
2018-01-22 13:24:41 -08:00
Nicolas Gallagher
935970156c
Benchmarks report total run time
2018-01-21 17:02:21 -08:00
Nicolas Gallagher
e4e6147081
0.3.3
0.3.3
2018-01-19 14:05:46 -08:00
Nicolas Gallagher
3e1b68d801
Add Moto G4 example benchmark results
2018-01-19 13:59:13 -08:00
Giuseppe Gurgone
1b493c9914
Add styled-jsx to benchmarks
...
Close #782
2018-01-19 12:51:21 -08:00
hushicai
6ecdc1a517
[fix] babel-plugin VariableDeclaration case
...
Convert VariableDeclarations, e.g.,
var ReactNative = require('react-native');
Close #781
2018-01-19 00:09:43 -08:00
Nicolas Gallagher
619079cedf
Move babel-plugin npm badge to correct README
2018-01-18 10:24:02 -08:00
Javi Velasco
bbf7674b43
Add react-fela to benchmarks
...
Close #779
2018-01-18 10:03:13 -08:00
Nicolas Gallagher
f163e4f16f
Use full URLs for README links
2018-01-18 09:50:14 -08:00
Nicolas Gallagher
bd8c2d6f24
Add npm badge to babel-plugin-react-native-web README
2018-01-18 09:49:54 -08:00
Nicolas Gallagher
3906b6b41b
Add benchmarks app link to README
2018-01-17 19:38:58 -08:00
Nicolas Gallagher
753ef963f6
0.3.2
0.3.2
2018-01-17 19:18:50 -08:00
Nicolas Gallagher
0721245b3e
Patch release script
...
Disable husky on version commit. Current publish script doesn't account
for attempts to republish the same version.
2018-01-17 19:15:23 -08:00
Nicolas Gallagher
b7adfd5f32
[fix] Picker.Item label text
...
Render the label as a child of 'option' rather than using the 'label'
attribute.
Fix #774
2018-01-17 17:59:05 -08:00
Nicolas Gallagher
a9342daee2
Add release script for benchmarks
2018-01-17 17:40:13 -08:00
Nicolas Gallagher
ed0cafac7c
Rewrite benchmarks app
...
Reorganizes and rewrites the benchmarks. Each implementation is now
self-contained and the benchmarks can be run using a GUI. The benchmarks
themselves have been changed so that individual tests render over a
shorter time frame and more samples are taken.
2018-01-17 17:21:53 -08:00
Nicolas Gallagher
6e6fd4b5d0
Add note about Object.assign polyfill to docs
2018-01-16 17:14:17 -08:00
Nicolas Gallagher
5cd533e6cc
0.3.1
0.3.1
2018-01-16 11:15:45 -08:00
Nicolas Gallagher
d5e8d85ce9
Fix example in babel plugin README
2018-01-16 11:11:50 -08:00
Nicolas Gallagher
e234568a34
Fix source links in documentation
2018-01-11 12:59:44 -08:00
Nicolas Gallagher
19cf0711bc
[add] StyleSheet support for 'overscrollBehavior'
...
An experimental CSS property to control the behavior when the scroll
position of a scroll container reaches the edge of the scrollport. This
allows web apps to get closer to native scrolling behaviour and
performance.
https://wicg.github.io/overscroll-behavior/
https://developers.google.com/web/updates/2017/11/overscroll-behavior
Fix #765
2018-01-11 12:58:43 -08:00
Johannes
067e3f346f
[fix] KeyboardAvoidingView missing 'this' binding
...
Close #762
2018-01-11 12:53:54 -08:00
Nicolas Gallagher
2117e44e9d
[fix] limit Image loader deferral to 1000ms
...
This patch introduces a limit on how long image loading is deferred, and
mitigates an issue with lengthy delays to 'requestIdleCallback' in the
Chrome browser.
Fix #759
2018-01-11 12:08:30 -08:00
Nicolas Gallagher
902ba22877
Update to flow-bin@0.63.1
2018-01-09 17:49:52 -08:00
Nicolas Gallagher
60c2cd65df
Update to lint-staged@6.0.0
2018-01-09 17:36:19 -08:00
Nicolas Gallagher
fde29326f1
Update to lerna@2.6.0
2018-01-09 17:35:53 -08:00
Nicolas Gallagher
44d795437e
Update to storybook@3.3.6
2018-01-09 17:34:28 -08:00
Nicolas Gallagher
03598d869b
Update to babel-plugin-tester@5.0.0
2018-01-09 17:31:52 -08:00
Nicolas Gallagher
a3e44a5c60
Update to enzyme@3.3.0
2018-01-09 17:27:38 -08:00
Nicolas Gallagher
02b124eceb
Update yarn.lock
2018-01-08 18:53:05 -08:00
Nicolas Gallagher
91472bc3d6
0.3.0
0.3.0
2018-01-08 18:42:16 -08:00
Nicolas Gallagher
7f45c52ce7
Update to inline-style-prefixer@4.0.0
2018-01-08 18:31:36 -08:00
Nicolas Gallagher
b6ef1d3a36
[fix] handle "monospace" font-family on web
...
This hack corrects the inheritance and scaling of font size when the
font-family is "monospace".
2018-01-08 12:19:24 -08:00
Maxime Thirouin
fd6ccbcfb3
[fix] ignore more native-only View/Text props
...
Fix #735
Close #753
2018-01-08 12:10:46 -08:00
Maxime Thirouin
17614e348b
Use prettier config instead of CLI args
...
This allows IDE plugins that rely on prettier config (introduced in
[1.6.0](https://github.com/prettier/prettier/pull/2434 )) to detect
prettier and run it automatically with the correct config.
Close #757
2018-01-08 12:06:58 -08:00
Maxime Thirouin
c26ef0eb3b
Run precommit hook automatically
...
Help to ensure that code is formatted and linted before commits and PRs.
Fix #755
Close #756
Close #754
2018-01-08 11:59:26 -08:00
Nicolas Gallagher
b78206d2f4
Remove 'transform-runtime' from webpack example
2018-01-08 11:49:28 -08:00
Nicolas Gallagher
69e0396fb1
Minor README edit
2018-01-05 16:35:39 -08:00
Nicolas Gallagher
6d9154196e
[fix] StyleSheet.hairlineWidth guard against missing document.body
2018-01-04 14:30:24 -08:00
Nicolas Gallagher
87fdd6c73b
[change] 'react-native-web' module organization and exports
...
The patch reorganizes the top-level module division of the
'react-native-web' project.
Previously, the package's exported modules were found in:
apis/*/index.js
components/*/index.js
components/*/*.js
modules/*/index.js
propTypes/*.js
Now, each part of the exported API is found in:
exports/*/index.js
And anything not directly part of the exported API is found in:
modules/*/index.js
vendor/*/index.js
Close #748
2018-01-04 14:30:24 -08:00
Nicolas Gallagher
209bd3aee1
[fix] babel-plugin support for 'react-native-web' module name
...
Now rewrites import/export/require statements from 'react-native-web'.
Install the plugin in the 'benchmarks' package.
2018-01-01 12:01:22 -08:00
Nicolas Gallagher
46e77d0b00
Change babel presets
...
Tune the compiled output to reduce file size.
2017-12-31 15:47:16 -08:00
Nicolas Gallagher
6f10f6be9c
[fix] AppRegistry.unmountApplicationComponentAtRootTag
...
Fixes the bad import of a named export rather than the default export.
2017-12-30 19:06:03 -08:00
Nicolas Gallagher
0d0fdc15ac
Minor docs fixes
2017-12-30 18:43:05 -08:00