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/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 whendocument.body
is missing in the client. (6d91541) - Fix development warnings for more native-only props. (fd6ccbc)
- Apply "monospace" font-family hack when needed. (b6ef1d3)