Nicolas Gallagher
f52a851972
Use an .eslintignore file
2017-12-24 12:50:44 +00:00
Nicolas Gallagher
3026465ae3
Monorepo
...
Introduces a monorepo structure, relies on yarn workspaces to share
dependencies, and lerna for syncing versions across the monorepo.
* Create 2 workspaces:
'packages' and 'website'
* Create 2 public packages:
'babel-plugin-react-native-web' and 'react-native-web'
* Create 1 private package:
'benchmarks'
A simple release script runs the tests, builds the package assets,
increments the package version numbers, git commits and tags, publishes
the package to npm, pushes the changes to github, and releases the
website update.
Close #657
2017-12-24 12:33:41 +00:00
Nicolas Gallagher
14d87f4b30
Fix tests not running in CI
...
Accidentally stopped running tests after this patch:
9a5b932139
2017-12-23 13:16:53 +00:00
Nicolas Gallagher
5881f07323
Fix typo in benchmark results
2017-12-20 23:23:24 +00:00
Nicolas Gallagher
b545fe47a7
0.2.2
0.2.2
2017-12-20 23:07:21 +00:00
Mo Kouli
4da4dd57c4
[fix] AppContainer initial state
...
Regression introduced in:
217ad97bfd
Close #738
2017-12-20 23:05:00 +00:00
Nicolas Gallagher
3e12ddfb2b
0.2.1
0.2.1
2017-12-20 17:31:25 +00:00
Johannes
3ecf5d2ed2
[fix] corrupt hydrate import
2017-12-20 17:45:45 +01:00
Nicolas Gallagher
0a5acdb996
Update version in benchmark results table
2017-12-20 15:05:58 +00:00
Nicolas Gallagher
a712a58eba
0.2.0
0.2.0
2017-12-20 15:01:12 +00:00
Nicolas Gallagher
6de892c92b
[add] CheckBox component
...
Implements the CheckBox component and adds a web-only 'color' prop to
allow the color of the checkbox to be customized.
2017-12-20 14:51:44 +00:00
Nicolas Gallagher
495defd69b
[fix] StyleSheet.hairlineWidth on retina screens
2017-12-20 11:54:13 +00:00
Nicolas Gallagher
1a20fcfce6
[add] StyleSheet.compose
...
As per the recent addition to React Native.
2017-12-20 11:27:57 +00:00
Nicolas Gallagher
ed1e45a43d
Link to yarnpkg website instead of npmjs
2017-12-20 11:13:17 +00:00
Nicolas Gallagher
556dc8926e
[fix] ScrollView animated scrollTo
...
Rely on web's native smooth scrolling mechanism when implemented in the
browser: https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior
Fix #593
2017-12-19 15:52:30 +00:00
Nicolas Gallagher
66cf45b90b
Update benchmark libraries and results
...
* Update all packages.
* Remove 'react-native-stylesheet'; since React 16 it is equivalent in
performance to using the full 'react-native-web' View implementation.
* Remove 'styled-components/primitives'; it's as slow as
'styled-components'.
* Record latest benchmark results and hardware.
2017-12-19 15:27:05 +00:00
Nicolas Gallagher
d1e49e06e6
Remove unmaintained starter kit
2017-12-18 17:49:51 +00:00
Nicolas Gallagher
8bf28dbe43
Document more instance methods in Direct Manipulation guide
...
Fix #704
2017-12-18 17:45:23 +00:00
Nicolas Gallagher
9ae95d0797
Add further details to Getting Started guide
...
Close #728
2017-12-18 17:33:44 +00:00
Nicolas Gallagher
321051b723
[add] ART export
...
Improve API compatibility with React Native by exporting 'react-art' as
'ART'.
Fix #602
2017-12-18 17:16:09 +00:00
Nicolas Gallagher
5f68542529
[fix] Touchable use with react-test-renderer
...
The object returned by 'ReactDOM.findDOMNode' when rendered by
'react-test-renderer' doesn't match the DOM API for an element. Only
attempt to bind the listener if 'addEventListener' is present on the
object.
Fix #720
2017-12-18 16:35:45 +00:00
Nicolas Gallagher
82c044ee33
[fix] use ReactDOM.hydrate in AppRegistry.runApplication
...
Allows AppRegistry to hydrate server-side rendered apps.
Fix #733
2017-12-18 16:15:47 +00:00
Nicolas Gallagher
9bcc67e73a
[fix] top-level API exports
...
Also fixes importing these APIs from 'react-native' when used with the
Babel plugin.
2017-12-18 16:15:03 +00:00
Nicolas Gallagher
f1ce6c2acb
[fix] AppRegistry.getApplication style element keys
...
Fix #734
2017-12-18 15:26:18 +00:00
Nicolas Gallagher
034108a2a0
[add] SafeAreaView component
2017-12-06 14:34:22 -08:00
Nicolas Gallagher
f96d7b868f
[change] update PanResponder implementation
...
Fix #171
2017-12-06 14:23:35 -08:00
Nicolas Gallagher
0dfe319d41
[change] update the Animated implementation
...
Replaces the 'animated' package with the latest implementation from
React Native. Requires a few imports to be replaced.
Close #716
Fix #714
Fix #688
2017-12-06 14:01:36 -08:00
Kenneth Kufluk
b7e970f4e6
[add] Picker and Picker.Item components
...
Close #705
2017-12-04 16:15:23 -08:00
Nicolas Gallagher
02e62ad5d6
Lint fixes
2017-12-02 16:08:56 -08:00
Nicolas Gallagher
541d2458fb
[change] Image no longer accepts children
...
Align with recent changes to the React Native API.
2017-12-02 16:04:27 -08:00
Nicolas Gallagher
b1e860ab40
Add ImageBackground docs
2017-12-02 16:04:27 -08:00
Louis Lagrange
e8eab9b3ec
[add] ImageBackground component
...
Close #696
2017-12-02 16:04:19 -08:00
Nicolas Gallagher
6bc76c3c92
Update yarn script syntax
2017-12-02 15:58:47 -08:00
Nicolas Gallagher
2acd8e477c
Update raf and debounce modules
2017-12-02 15:58:47 -08:00
Nicolas Gallagher
ff2b0c9bdc
Update to React@16.2 dev dependencies
2017-12-02 15:58:47 -08:00
Nicolas Gallagher
79208720d1
Update webpack tools
2017-12-02 15:58:47 -08:00
Nicolas Gallagher
fca04c4125
Update enzyme
2017-12-02 15:58:47 -08:00
Nicolas Gallagher
5b5b72cc19
Update eslint and prettier
2017-12-02 15:58:47 -08:00
Nicolas Gallagher
217ad97bfd
[change] Update Flow and types
2017-12-02 15:58:47 -08:00
Nicolas Gallagher
3e3cfc5325
0.1.16
0.1.16
2017-12-02 14:48:35 -08:00
Nicolas Gallagher
da86ea98fc
[fix] NetInfo event listeners and types
...
* Fix 'addEventListener' handler registration.
* Fix event object provided to handlers.
* Fix event object type - always include 'type' and 'effectiveType'.
* Fix unit test semantics.
* Fix documented NetInfo types.
Close #724
2017-12-02 12:47:12 -08:00
Nicolas Gallagher
5f3e422b5c
0.1.15
0.1.15
2017-12-01 17:55:17 -08:00
Nicolas Gallagher
1f1f89b062
[fix] Image 'onLoad' callback on update
...
'onLoad' should not be called when a component updates, if the 'uri' is
unchanged.
Fixes a regression introduced by
92952ee746
2017-12-01 17:52:47 -08:00
Nicolas Gallagher
0f79960b85
0.1.14
0.1.14
2017-11-15 15:21:45 -08:00
Nicolas Gallagher
117ce59f27
[fix] TextInput focus/blur management
...
1. Focusing/blurring a TextInput should update TextInputState.
2. Using the focus/blur instance methods should trigger related events.
Close #715
2017-11-15 15:20:21 -08:00
Louis Lagrange
214121480e
[fix] stub for Picker.Item
...
Add stub function for API compatibility.
Close #690
2017-11-15 14:45:33 -08:00
Li Jie
6261536f57
Fix benchmarks documentation
...
Close #706
2017-11-15 14:43:13 -08:00
Nicolas Gallagher
a748b7e606
[fix] ScrollView 'setNativeProps'
...
Fix #709
Close #710
2017-11-15 14:39:58 -08:00
Zero Cho
92952ee746
[fix] call Image 'onLoad' when image is loaded from cache
...
Fix #452
Close #712
2017-11-15 13:33:13 -08:00
Nicolas Gallagher
c22a9aff7d
0.1.13
0.1.13
2017-10-31 10:56:36 -07:00