Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
16.3.0 (March 29, 2018)
React
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_AsyncComponentwithReact.unstable_AsyncMode. (@acdlite in #12117)setState()on an unmounted component. (@sophiebits in #12347)React DOM
getDerivedStateFromProps()lifecycle andUNSAFE_aliases for the legacy lifecycles. (@bvaughn in #12028)getSnapshotForUpdate()lifecycle. (@bvaughn in #12404)<React.StrictMode>wrapper to help prepare apps for async rendering. (@bvaughn in #12083)onLoadandonErrorevents on the<link>tag. (@roderickhsiao in #11825)noModuleboolean attribute on the<script>tag. (@aweary in #11900)onKeyPressin more browsers. (@nstraub in #10514)valueanddefaultValueto ignore Symbol values. (@nhunzaker in #11741)operawith anullvalue. @alisherdavronov in #11854)<option selected>. (@watadarkstar in #11821)ReactDOM.unstable_createPortal()in favor ofReactDOM.createPortal(). (@prometheansacrifice in #11747)React DOM Server
React.Component. (@wyze in #11993)this.stateof different components getting mixed up. (@sophiebits in #12323)React Test Renderer
toTree(). (@maciej-ka in #12107 and @gaearon in #12154)nullfor components that don't set it. (@jwbay in #11965)contextTypes. (@koba04 in #11922)React Is (New)
ReactIs.isValidElementType()to help higher-order components validate their inputs. (@jamesreggio in #12483)React Lifecycles Compat (New)
Create Subscription (New)
React Reconciler (Experimental)
react-reconciler/persistentfor building renderers that use persistent data structures. (@gaearon in #12156)finalizeInitialChildren(). (@jquense in #11970)useSyncSchedulingfrom the host config. (@acdlite in #11771)React Call Return (Experimental)