16.3.0 (March 29, 2018)
React
- Add a new officially supported context API. (@acdlite in #11818)
- Add a new
React.createRef()API as an ergonomic alternative to callback refs. (@trueadm in #12162) - Add a new
React.forwardRef()API to let components forward their refs to a child. (@bvaughn in #12346) - Fix a false positive warning in IE11 when using
React.Fragment. (@XaveScor in #11823) - Replace
React.unstable_AsyncComponentwithReact.unstable_AsyncMode. (@acdlite in #12117) - Improve the error message when calling
setState()on an unmounted component. (@sophiebits in #12347)
React DOM
- Add a new
getDerivedStateFromProps()lifecycle andUNSAFE_aliases for the legacy lifecycles. (@bvaughn in #12028) - Add a new
getSnapshotBeforeUpdate()lifecycle. (@bvaughn in #12404) - Add a new
<React.StrictMode>wrapper to help prepare apps for async rendering. (@bvaughn in #12083) - Add support for
onLoadandonErrorevents on the<link>tag. (@roderickhsiao in )