Packages

react-dom

19.3.1 · 14 Oct 2026MIT260.6M / weekRepositoryHomepagenpmAtom feed

Your version

16.4.0

24 May 2018Where it was published

16.14.0 is the newest release of 16.x.

npm marks 16.4.0 as deprecated: This version of react-dom/server contains a minor vulnerability. Please update react-dom to 16.4.2+. Learn more: fb.me/cve-2018-6341

In short

3 new8 fixed7 changed

Security

1 advisory affects 16.4.0; 16.4.2 fixes them

Release note

React

React DOM

  • Add support for the Pointer Events specification. (@philipp-spiess in #12507)

  • Properly call getDerivedStateFromProps() regardless of the reason for re-rendering. (@acdlite in #12600 and #12802)

  • Fix a bug that prevented context propagation in some cases. (@gaearon in #12708)

  • Fix re-rendering of components using forwardRef() on a deeper setState(). (@gaearon in #12690)

  • Fix some attributes incorrectly getting removed from custom element nodes. (@airamrguez in #12702)

  • Fix context providers to not bail out on children if there's a legacy context provider above. (@gaearon in #12586)

  • Add the ability to specify propTypes on a context provider component. (@nicolevy in #12658)

  • Fix a false positive warning when using react-lifecycles-compat in <StrictMode>. (@bvaughn in #12644)

  • Warn when the forwardRef() render function has propTypes or defaultProps. (@bvaughn in #12644)

  • Improve how forwardRef() and context consumers are displayed in the component stack. (@sophiebits in #12777)

  • Change internal event names. This can break third-party packages that rely on React internals in unsupported ways. (@philipp-spiess in #12629)

React Test Renderer

  • Fix the getDerivedStateFromProps() support to match the new React DOM behavior. (@koba04 in #12676)

  • Fix a testInstance.parent crash when the parent is a fragment or another special node. (@gaearon in #12813)

  • forwardRef() components are now discoverable by the test renderer traversal methods. (@gaearon in #12725)

  • Shallow renderer now ignores setState() updaters that return null or undefined. (@koba04 in #12756)

React ART

  • Fix reading context provided from the tree managed by React DOM. (@acdlite in #12779)

React Call Return (Experimental)

  • This experiment was deleted because it was affecting the bundle size and the API wasn't good enough. It's likely to come back in the future in some other form. (@gaearon in #12820)

React Reconciler (Experimental)

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.