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)Changelog
16.5.0 (September 5, 2018)
React.forwardRef
render function doesn't take exactly two arguments (@bvaughn in #13168)createElement
by mistake (@DCtheTall in #13131)onRender
until after mutations (@bvaughn in #13572)react-dom/profiling
entry point alias for profiling in production (@bvaughn in #13570)onAuxClick
event for browsers that support it (@jquense in #11571)movementX
and movementY
fields to mouse events (@jasonwilliams in #9018)tangentialPressure
and twist
fields to pointer events (@motiz88 in #13374)focusable
SVG attribute (@gaearon in #13339)<noscript>
on the client when hydrating (@Ephem in #13537)gridArea
to be treated as a unitless CSS property (@mgol in #13550)compositionend
event when typing Korean on IE11 (@crux153 in #12563)children
in the <option>
tag (@Slowyn in #13261, @gaearon in #13465)checked
attribute not getting initially set on the input
(@dilidili in #13114)dangerouslySetInnerHTML
when __html
is not a string (@gaearon in #13353)onChange
to fire on falsy values too (@nicolevy in #12628)submit
and reset
buttons getting an empty label (@ellsclytn in #12780)onSelect
event not being triggered after drag and drop (@gaearon in #13422)onClick
event not working inside a portal on iOS (@aweary in #11927)onChange
to not fire in some cases (@gaearon in #13423)"false"
or "true"
is the value of a boolean DOM prop (@motiz88 in #13372)this.state
is initialized to props
(@veekas in #11658)style
on hydration in IE due to noisy false positives (@mgol in #13534)StrictMode
in the component stack (@gaearon in #13240)window.event
in IE (@ConradIrwin in #11696)folder/index.js
naming convention (@gaearon in #12059)getDerivedStateFromProps
without initialized state (@flxwu in #13317)<webview>
tag without warnings (@philipp-spiess in #13301)e.preventDefault()
was called (@gaearon in #13384)unstable_deferredUpdates
in favor of unstable_scheduleWork
from schedule
(@gaearon in #13488)dangerouslySetInnerHtml
in a selected <option>
(@mridgway in #13078)setTimeout
is missing (@dustinsoftware in #13088)this
in a functional component for shallow renderer to be undefined
(@koba04 in #13144)ReactTestUtils.mockComponent()
helper (@bvaughn in #13193)ReactDOM.createPortal
usage within the test renderer (@bvaughn in #12895)