Releases: necolas/react-native-web
Releases · necolas/react-native-web
0.3.0
React Native for Web is now structured as a monorepo (3026465). An additional benchmark introduced by the emotion project has been included; it stress-tests style updates to mounted trees.
Breaking changes
- The Babel plugin must now be installed separately:
babel-plugin-react-native-web. Depending onreact-native-web/babelwill no longer work. - The package's internal paths have changed; if you were reaching into
react-native-web/distthose modules have moved.
Fixes
- Fix babel rewrite for import/export/require
react-native-web. (209bd3a) - Fix babel rewrite when importing
CheckBox. (87fdd6c). - Fix RTL flipping of styles set via
setNativeProps. (85aaa39) - Prevent ReactDOM hydration warnings in development. (41d90e0)
- Fix React warnings when using the
hitSlopprop. (af47d5f) - Fix
AppRegistry.unmountApplicationComponentAtRootTag. (6f10f6b) - Fix
StyleSheet.hairlineWidtherror whendocument.bodyis missing in the client. (6d91541) - Fix development warnings for more native-only props. (fd6ccbc)
- Apply "monospace" font-family hack when needed. (b6ef1d3)
0.2.0
Breaking changes
- The
Imagecomponent no longer accepts child content. UseImageBackgroundas a replacement. (541d245)
New features
- Add
ImageBackgroundcomponent. (e8eab9b) - Add
PickerandPicker.Itemcomponents. (b7e970f) - Add
CheckBoxcomponent. (6de892c) - Add
ARTcomponents. (321051b) - Add
SafeAreaViewshim for compatibility with React Native. (034108a) - Add
StyleSheet.compose. (1a20fcf) - Sync the
Animatedimplementation with React Native to pick up new additions to the API. (0dfe319). - Sync the
PanResponderimplementation with React Native. (f96d7b8)
Fixes
- Use
ReactDOM.hydrateinAppRegistry.runApplicationto allow clients to boot using HTML from server-rendered apps (82c044e). - Fix
AppRegistry.getApplicationstyle element key warning for server-side rendering.
(f1ce6c2) - Fix imports of
renderandunmountComponentAtNodewhen using the Babel plugin.
(9bcc67e) - Fix error when testing Touchables using
react-test-renderer. (5f68542) - Fix animated scrolling in
ScrollView. (556dc89) - Fix the value of
StyleSheet.hairlineWidthon retina screens. (495defd)
React 16 support
Compatible with React/ReactDOM 16
0.0.62
StyleSheetnow resolves React Native styles to class names and caches results (13x faster than 0.0.61)[https://github.com/necolas/react-native-web/commit/d87f71ebc11d4ac986ec39a039ec4f7c96916e7d]ActivityIndicatorandProgressBarnow use CSS animations instead ofAnimated.
[https://github.com/necolas/react-native-web/commit/cfc56a1354960260d6e7d40e401e7b1ba43e3a7e, https://github.com/necolas/react-native-web/commit/ea75cced133358eccda1dd83292784e554afc28c]- CSS animation properties are supported; there is no public API for creating CSS keyframes in JS.
0.0.15
New Components:
- ActivityIndicator
- Portal
- StaticContainer
- StaticRenderer
New APIs:
- AppRegistry
- AppState
- AsyncStorage
- Dimensions
- NativeMethods
- NetInfo
- PixelRatio
- Platform
- UIManager
Bug fixes:
- StyleSheet supports array of styles
- Export various Touchable components
Retain upstream BSD license