Link: https://github.com/facebook/react/releases/tag/v16.3.0
React.createRef() API as an ergonomic alternative to callback refs. (@trueadm in #12162)React.forwardRef() API to let components forward their refs to a child. (@bvaughn in #12346)React.Fragment. (@XaveScor in #11823)React.unstable_AsyncComponent with React.unstable_AsyncMode. (@acdlite in #12117)setState() on an unmounted component. (@sophiebits in #12347)getDerivedStateFromProps() lifecycle and UNSAFE_ aliases for the legacy lifecycles. (@bvaughn in #12028)getSnapshotBeforeUpdate() lifecycle. (@bvaughn in #12404)<React.StrictMode> wrapper to help prepare apps for async rendering. (@bvaughn in #12083)onLoad and onError events on the <link> tag. (@roderickhsiao in #11825)noModule boolean attribute on the <script> tag. (@aweary in #11900)onKeyPress in more browsers. (@nstraub in #10514)value and defaultValue to ignore Symbol values. (@nhunzaker in #11741)opera with a null value. @alisherdavronov in #11854)<option selected>. (@watadarkstar in #11821)ReactDOM.unstable_createPortal() in favor of ReactDOM.createPortal(). (@prometheansacrifice in #11747)React.Component. (@wyze in #11993)this.state of different components getting mixed up. (@sophiebits in #12323)toTree(). (@maciej-ka in #12107 and @gaearon in #12154)null for components that don't set it. (@jwbay in #11965)contextTypes. (@koba04 in #11922)ReactIs.isValidElementType() to help higher-order components validate their inputs. (@jamesreggio in #12483)react-reconciler/persistent for building renderers that use persistent data structures. (@gaearon in #12156)finalizeInitialChildren(). (@jquense in #11970)useSyncScheduling from the host config. (@acdlite in #11771) 1
per 2018-03-30 09:31:08 +08:00 via iPhone
所以把更新贴上来是什么意思?
|