Skip to content

Releases: necolas/react-native-web

0.3.0

09 Jan 02:54

Choose a tag to compare

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 on react-native-web/babel will no longer work.
  • The package's internal paths have changed; if you were reaching into react-native-web/dist those 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 hitSlop prop. (af47d5f)
  • Fix AppRegistry.unmountApplicationComponentAtRootTag. (6f10f6b)
  • Fix StyleSheet.hairlineWidth error when document.body is 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

20 Dec 15:06

Choose a tag to compare

Breaking changes

  • The Image component no longer accepts child content. Use ImageBackground as a replacement. (541d245)

New features

  • Add ImageBackground component. (e8eab9b)
  • Add Picker and Picker.Item components. (b7e970f)
  • Add CheckBox component. (6de892c)
  • Add ART components. (321051b)
  • Add SafeAreaView shim for compatibility with React Native. (034108a)
  • Add StyleSheet.compose. (1a20fcf)
  • Sync the Animated implementation with React Native to pick up new additions to the API. (0dfe319).
  • Sync the PanResponder implementation with React Native. (f96d7b8)

Fixes

  • Use ReactDOM.hydrate in AppRegistry.runApplication to allow clients to boot using HTML from server-rendered apps (82c044e).
  • Fix AppRegistry.getApplication style element key warning for server-side rendering.
    (f1ce6c2)
  • Fix imports of render and unmountComponentAtNode when 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.hairlineWidth on retina screens. (495defd)

React 16 support

26 Sep 17:26

Choose a tag to compare

Compatible with React/ReactDOM 16

0.0.62

03 Jan 07:38

Choose a tag to compare

  • StyleSheet now 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]
  • ActivityIndicator and ProgressBar now use CSS animations instead of Animated.
    [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

19 Feb 17:59

Choose a tag to compare

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