The library for web and native user interfaces.
componentWillReceiveProps
, shouldComponentUpdate
, and so on). (@gaearon in #18330)React.createFactory()
(@trueadm in #17878)style
may cause an unexpected collision (@sophiebits in #14181, #18002)unstable_createPortal
(@trueadm in #17880)onMouseEnter
being fired on disabled buttons (@AlfredoGJ in #17675)shouldComponentUpdate
twice when developing in StrictMode
(@bvaughn in #17942)version
property to ReactDOM (@ealush in #15780)toString()
of dangerouslySetInnerHTML
(@sebmarkbage in #17773)ReactDOM.createRoot()
(@trueadm in #17937)ReactDOM.createRoot()
callback params and added warnings on usage (@bvaughn in #17916)SuspenseList
CPU bound heuristic (@sebmarkbage in #17455)isPending
only being true when transitioning from inside an input event (@acdlite in #17382)React.memo
components dropping updates when interrupted by a higher priority update (@acdlite in #18091)• react: https://unpkg.com/[email protected]/umd/ • react-art: https://unpkg.com/[email protected]/umd/ • react-dom: https://unpkg.com/[email protected]/umd/ • react-is: https://unpkg.com/[email protected]/umd/ • react-test-renderer: https://unpkg.com/[email protected]/umd/ • scheduler: https://unpkg.com/[email protected]/umd/
mouseenter
handlers from firing twice inside nested React containers. @yuanoook in #16928
unstable_createRoot
and unstable_createSyncRoot
experimental APIs. (These are available in the Experimental channel as createRoot
and createSyncRoot
.) (@acdlite in #17088)• react: https://unpkg.com/[email protected]/umd/ • react-art: https://unpkg.com/[email protected]/umd/ • react-dom: https://unpkg.com/[email protected]/umd/ • react-is: https://unpkg.com/[email protected]/umd/ • react-test-renderer: https://unpkg.com/[email protected]/umd/ • scheduler: https://unpkg.com/[email protected]/umd/
• react: https://unpkg.com/[email protected]/umd/ • react-art: https://unpkg.com/[email protected]/umd/ • react-dom: https://unpkg.com/[email protected]/umd/ • react-is: https://unpkg.com/[email protected]/umd/ • react-test-renderer: https://unpkg.com/[email protected]/umd/ • scheduler: https://unpkg.com/[email protected]/umd/
Object.is
instead of inline polyfill, when available. (@ku8ar in #16212)postMessage
loop with short intervals instead of attempting to align to frame boundaries with requestAnimationFrame
. (@acdlite in #16214)• react: https://unpkg.com/[email protected]/umd/ • react-art: https://unpkg.com/[email protected]/umd/ • react-dom: https://unpkg.com/[email protected]/umd/ • react-is: https://unpkg.com/[email protected]/umd/ • react-test-renderer: https://unpkg.com/[email protected]/umd/ • scheduler: https://unpkg.com/[email protected]/umd/
<React.Profiler>
API for gathering performance measurements programmatically. (@bvaughn in #15172)unstable_ConcurrentMode
in favor of unstable_createRoot
. (@acdlite in #15532)UNSAFE_*
lifecycle methods. (@bvaughn in #15186 and @threepointone in #16103)javascript:
URLs as a common attack surface. (@sebmarkbage in #15047)disablePictureInPicture
attribute on <video>
. (@eek in #15334)onLoad
event for <embed>
. (@cherniavskii in #15614)useState
state from DevTools. (@bvaughn in #14906)setState
is called from useEffect
, creating a loop. (@gaearon in #15180)findDOMNode
for components wrapped in <Suspense>
. (@acdlite in #15312)!important
style. (@acdlite in #15861 and #15882)act(async () => ...)
for testing asynchronous state updates. (@threepointone in #14853)act
from different renderers. (@threepointone in #16039 and #16042)act()
call. (@threepointone in #15763 and #16041)act
from the wrong renderer. (@threepointone in #15756)• react: https://unpkg.com/[email protected]/umd/ • react-art: https://unpkg.com/[email protected]/umd/ • react-dom: https://unpkg.com/[email protected]/umd/ • react-is: https://unpkg.com/[email protected]/umd/ • react-test-renderer: https://unpkg.com/[email protected]/umd/ • scheduler: https://unpkg.com/[email protected]/umd/
This is a release candidate for React v16.9.0.
Changelog is available in https://github.com/facebook/react/pull/16254.
• react: https://unpkg.com/[email protected]/umd/ • react-art: https://unpkg.com/[email protected]/umd/ • react-dom: https://unpkg.com/[email protected]/umd/ • react-is: https://unpkg.com/[email protected]/umd/ • react-test-renderer: https://unpkg.com/[email protected]/umd/ • scheduler: https://unpkg.com/[email protected]/umd/