Packages

react-dom

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

Upgrading react-dom From 16.2.1 to 16.3.0

1 release in betweenevery note read

Other targets from 16.2.1Newest 16.x16.14.0Latest19.3.1
  1. 16.2.1yours
  2. 16.3.0target

Before you upgrade

Tick each one off as you go

Security

1 advisory still affects 16.3.0

Upgrading to 16.3.3 clears it.

Release by release

  1. 16.3.0

    Deprecation29 Mar 201814 new · 13 fixes
    • Deprecated

      Deprecate ReactDOM.unstable_createPortal() in favor of ReactDOM.createPortal(). (@prometheansacrifice in #11747)

    • New

      Add a new officially supported context API. (@acdlite in #11818)

    • New

      Add a new React.createRef() API as an ergonomic alternative to callback refs. (@trueadm in #12162)

    • New

      Add a new React.forwardRef() API to let components forward their refs to a child. (@bvaughn in #12346)

14 other lines we could not sort, mostly version bumps
  • Replace React.unstable_AsyncComponent with React.unstable_AsyncMode. (@acdlite in #12117)

    16.3.0
  • Improve the error message when calling setState() on an unmounted component. (@sophiebits in #12347)

    16.3.0
  • Correctly detect Ctrl + Enter in onKeyPress in more browsers. (@nstraub in #10514)

    16.3.0
  • Throw with a meaningful message if the component runs after jsdom has been destroyed. (@gaearon in #11677)

    16.3.0
  • Deduplicate warning messages about <option selected>. (@watadarkstar in #11821)

    16.3.0
  • Deduplicate warning messages about invalid callback. (@yenshih in #11833)

    16.3.0
  • Improve the error message when context consumer child isn't a function. (@raunofreiberg in #12267)

    16.3.0
  • Improve the error message when adding a ref to a functional component. (@skiritsis in #11782)

    16.3.0
  • Warn if a class doesn't extend React.Component. (@wyze in #11993)

    16.3.0
  • Provide a better message when component type is undefined. (@HeroProtagonist in #11966)

    16.3.0

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.