react-dom
Advanced tools
Changelog
16.6.1 (November 6, 2018)
Changelog
16.6.0 (October 23, 2018)
React.memo()
as an alternative to PureComponent
for functions. (@acdlite in #13748)React.lazy()
for code splitting components. (@acdlite in #13885)React.StrictMode
now warns about legacy context API. (@bvaughn in #13760)React.StrictMode
now warns about findDOMNode
. (@sebmarkbage in #13841)unstable_AsyncMode
to unstable_ConcurrentMode
. (@trueadm in #13732)unstable_Placeholder
to Suspense
, and delayMs
to maxDuration
. (@gaearon in #13799 and @sebmarkbage in #13922)contextType
as a more ergonomic way to subscribe to context from a class. (@bvaughn in #13728)getDerivedStateFromError
lifecycle method for catching errors in a future asynchronous server-side renderer. (@bvaughn in #13746)<Context>
is used instead of <Context.Consumer>
. (@trueadm in #13829)window.event
in development. (@sergei-startsev in #13697)React.memo()
. (@alexmckenley in #13855)contextType
. (@alexmckenley and @sebmarkbage in #13889)scheduler
. (@gaearon in #13683)requestAnimationFrame
earlier. (@acdlite in #13785)envify
transform to the package. (@mridgway in #13766)Changelog
16.5.2 (September 18, 2018)
<iframe>
regression (@JSteunou in #13650)updateWrapper
so that <textarea>
s no longer re-render when data is unchanged (@joelbarbosa in #13643)Changelog
16.5.1 (September 13, 2018)
React.forwardRef
receives an unexpected number of arguments. (@andresroberto in #13636)isReactComponent
. (@gaearon in #13608)react-dom/profiling
with schedule/tracking
. (@bvaughn in #13605)ForwardRef
component defines a displayName
, use it in warnings. (@probablyup in #13615)