Update Jun 8, 2026 tracked by Updatify
16.5.0 (September 5, 2018)
React
-
Add a warning if
React.forwardRefrender function doesn’t take exactly two arguments (@bvaughn in #13168) -
Improve the error message when passing an element to
createElementby mistake (@DCtheTall in #13131) -
Don’t call profiler
onRenderuntil after mutations (@bvaughn in #13572)
React DOM
- Add support for React DevTools Profiler (@bvaughn in #13058)
-
Add
react-dom/profilingentry point alias for profiling in production (@bvaughn in #13570) -
Add
onAuxClickevent for browsers that support it (@jquense in #11571) -
Add
movementXandmovementYfields to mouse events (@jasonwilliams in #9018) -
Add
tangentialPressureandtwistfields to pointer events (@motiz88 in #13374) - Minimally support iframes (nested browsing contexts) in selection event handling (@acusti in #12037)
-
Support passing booleans to the
focusableSVG attribute (@gaearon in #13339) -
Ignore
<noscript>on the client when hydrating (@Ephem in #13537) -
Fix
gridAreato be treated as a unitless CSS property (@mgol in #13550) -
Fix incorrect data in
compositionendevent when typing Korean on IE11 (@crux153 in #12563) -
Fix a crash when using dynamic
childrenin the<option>tag (@Slowyn in #13261, @gaearon in #13465) -
Fix the
checkedattribute not getting initially set on theinput(@dilidili in #13114) -
Fix hydration of
dangerouslySetInnerHTMLwhen__htmlis not a string (@gaearon in #13353) -
Fix a warning about missing controlled
onChangeto fire on falsy values too (@nicolevy in #12628) -
Fix
submitandresetbuttons getting an empty label (@ellsclytn in #12780) -
Fix the
onSelectevent not being triggered after drag and drop (@gaearon in #13422) -
Fix the
onClickevent not working inside a portal on iOS (@aweary in #11927) - Fix a performance issue when thousands of roots are re-rendered (@gaearon in #13335)
-
Fix a performance regression that also caused
onChangeto not fire in some cases (@gaearon in #13423) - Handle errors in more edge cases gracefully (@gaearon in #13237 and @acdlite in #13269)
- Don’t use proxies for synthetic events in development (@gaearon in #12171)
-
Warn when
"false"or"true"is the value of a boolean DOM prop (@motiz88 in #13372) -
Warn when
this.stateis initialized toprops(@veekas in #11658) -
Don’t compare
styleon hydration in IE due to noisy false positives (@mgol in #13534) -
Include
StrictModein the component stack (@gaearon in #13240) -
Don’t overwrite
window.eventin IE (@ConradIrwin in #11696) -
Improve component stack for the
folder/index.jsnaming convention (@gaearon in #12059) -
Improve a warning when using
getDerivedStateFromPropswithout initialized state (@flxwu in #13317) - Improve a warning about invalid textarea usage (@raunofreiberg in #13361)
- Treat invalid Symbol and function values more consistently (@raunofreiberg in #13362 and #13389)
-
Allow Electron
<webview>tag without warnings (@philipp-spiess in #13301) -
Don’t show the uncaught error addendum if
e.preventDefault()was called (@gaearon in #13384) - Warn about rendering Generators (@gaearon in #13312)
- Remove irrelevant suggestion of a legacy method from a warning (@zx6658 in #13169)
-
Remove
unstable_deferredUpdatesin favor ofunstable_scheduleWorkfromschedule(@gaearon in #13488) - Fix unstable asynchronous mode from doing unnecessary work when an update takes too long (@acdlite in #13503)
React DOM Server
-
Fix crash with nullish children when using
dangerouslySetInnerHtmlin a selected<option>(@mridgway in #13078) -
Fix crash when
setTimeoutis missing (@dustinsoftware in #13088)
React Test Renderer and Test Utils
-
Fix
thisin a functional component for shallow renderer to beundefined(@koba04 in #13144) -
Deprecate a Jest-specific
ReactTestUtils.mockComponent()helper (@bvaughn in #13193) -
Warn about
ReactDOM.createPortalusage within the test renderer (@bvaughn in #12895) - Improve a confusing error message (@gaearon in #13351)
React ART
- Add support for DevTools (@yunchancho in #13173)