React Native 0.47.0 正式版发布

王练
 王练
发布于 2017年08月02日
收藏 5

React Native 0.47.0 已正式发布。

重大变化:

Android

  • Remove unused createJSModules calls

通用

修复

  • VirtualizedList: Fix problems if _updateCellsToRender gets called too early

  • VirtualizedList: Fix deltatime calculation

  • VirtualizedList: Fix initial-render triggering a render of all items

  • CLI: Fix broken default getProjectRoots

  • Fix license headers

  • Fix deepFreezeAndThrowOnMutationInDev-test for Node v8.1.0

  • Fix reference to invariant

  • Fix configure glog script when building from xcodebuild

  • Fix error caused by first argument short when calling warning function

新特性和改进

  • Add Components and APIs Overview Guide

  • Add marker surrounding entire native module creation

  • Add documentation for supporting custom require types

  • Add https options to RN CLI server

  • Add basic nested VirtualizedList support 

  • Add --maxWorkers flag and allow transformers to run in-band

  • FlatList: Add dev validation of the object returned by getItemLayout

  • FlatList: Add setNativeProps

  • Warn when setting pagingEnabled when snapToInterval at the same time

  • Add close to SwipeableRow

  • Add a new babel transformer for inlining regenerator-runtime per file 

  • Add Wix.com to showcase

  • Remove react-native/packager folder

  • Docs: New Handling Touches 

  • Docs: Restore proper ordering in the sidebar

  • Disable auto-mock by default in as many places as possible @bypass-lint

  • Remove worker from local-cli

  • Promise support for C++ bridge

  • Exposed progressViewOffset to VirtualizedList and FlatList

  • Implement Systrace integration for Fiber 

  • Check before overriding global.performance 

  • Move type definitions used for metro bundler from React Native

  • Cleanup local-cli/core/__tests__ 

  • Node v8 Workaround for local-cli/core/__tests__ 

  • Update remaining PropTypes references

  • Improved (7707905

  • Remove retainLines and sourceMaps options

  • Move jest to version 20

  • Update guidelines

  • Make preset a function to account for different dev settings

  • Native Animated - Call x.__makeNative before super.__makeNative 

  • Don't require prettyFormat in every single bundle 

  • Use possessive 'its' not 'it's'

  • Yoga: The total flex factores need to be a minimum of 1 if any

  • Yoga: Fixed assertion caused by invalid layout of hidden Yoga nodes

  • Yoga: Refined type for display style property

  • ImageBackground: use cached styles 

  • Keyboard will show documentation

  • Improve Audio for Maintaining Priority 

  • Expose unstable_batchedUpdates on react-native

  • Disable subview clipping when sticky headers are enabled

  • Replace React.createClass with create-react-class

  • Control whether Metro tells Babel to lookup .babelrc files

  • Stop using Map in JSTimers

  • Merge JSTimers and JSTimersExecution 

  • Update native references to JSTimers

  • Allow no args to be passed to rejection callback

  • Fixed an incorrect word in the blurTextInput() documentation 

  • Clearer code in Button.js

  • Setting bridge up for sharing: allowing native modules to register after init

  • react@16 did away with PropTypes; require prop-types instead 

  • Remove RN fiber createClass wrapper around View

  • Rename Executor to JSExecutor

  • Improve choco command in docs

  • Fixing typo in AppContainer

  • Adding an optional wrapper component to app components 

  • Jest Mocks for NetInfo and Linking

  • Overflow detection in Yoga 

更新内容较多,更多详情和下载地址请查阅发行列表

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:React Native 0.47.0 正式版发布
加载中

精彩评论

豌豆粉
豌豆粉
能翻译成中文吗。英语小白看不懂

最新评论(10

久永
久永

引用来自“豌豆粉”的评论

能翻译成中文吗。英语小白看不懂
没有中文的一概略过就可以了,没有中文只能说明其不足够重要。
AngryLi
AngryLi
妈呀,这辈子还能等到v1吗
whinc
whinc
2020年出1.0.0
豌豆粉
豌豆粉
能翻译成中文吗。英语小白看不懂
雨落天涯1
雨落天涯1
RN好用,已经上线项目,体验还是不错!
卖爷爷的老红薯
卖爷爷的老红薯
Phalcon+RN === 无敌!
water6000
water6000
入门曲线有点高啊!看不懂啊!
晨雨零稀
晨雨零稀
威武,rn 挺好用
大美bot
大美bot
你这一堆重大变化 我能看懂 算我输。。。:flushed:
marshalys
marshalys
居然沙发?
返回顶部
顶部