react v16.9.0 Release Notes

Release Date: 2019-04-03 // about 5 years ago
  • React

    • โž• Add <React.Profiler> API for gathering performance measurements programmatically. (@bvaughn in #15172)
    • Remove unstable_ConcurrentMode in favor of unstable_createRoot. (@acdlite in #15532)

    React DOM

    • ๐Ÿ—„ Deprecate old names for the UNSAFE_* lifecycle methods. (@bvaughn in #15186 and @threepointone in #16103)
    • ๐Ÿ—„ Deprecate javascript: URLs as a common attack surface. (@sebmarkbage in #15047)
    • ๐Ÿ—„ Deprecate uncommon "module pattern" (factory) components. (@sebmarkbage in #15145)
    • โž• Add support for the disablePictureInPicture attribute on <video>. (@eek in #15334)
    • โž• Add support for onLoad event for <embed>. (@cherniavskii in #15614)
    • โž• Add support for editing useState state from DevTools. (@bvaughn in #14906)
    • โž• Add support for toggling Suspense from DevTools. (@gaearon in #15232)
    • ๐Ÿ‘€ Warn when setState is called from useEffect, creating a loop. (@gaearon in #15180)
    • ๐Ÿ›  Fix a memory leak. (@paulshen in #16115)
    • ๐Ÿ›  Fix a crash inside findDOMNode for components wrapped in <Suspense>. (@acdlite in #15312)
    • ๐Ÿ›  Fix pending effects from being flushed too late. (@acdlite in #15650)
    • ๐Ÿ›  Fix incorrect argument order in a warning message. (@brickspert in #15345)
    • ๐Ÿ›  Fix hiding Suspense fallback nodes when there is an !important style. (@acdlite in #15861 and #15882)
    • ๐ŸŽ Slightly improve hydration performance. (@bmeurer in #15998)

    React DOM Server

    • ๐Ÿ›  Fix incorrect output for camelCase custom CSS property names. (@bedakb in #16167)

    โœ… React Test Utilities and Test Renderer

    ๐Ÿ‘• ESLint Plugin: React Hooks

    • Report Hook calls at the top level as a violation. (gaearon in #16455)