react v16.6.0 Release Notes

Release Date: 2018-10-23 // over 5 years ago
  • React

    React DOM

    • โž• Add contextType as a more ergonomic way to subscribe to context from a class. (@bvaughn in #13728)
    • โž• Add getDerivedStateFromError lifecycle method for catching errors in a future asynchronous server-side renderer. (@bvaughn in #13746)
    • Warn when <Context> is used instead of <Context.Consumer>. (@trueadm in #13829)
    • ๐Ÿ›  Fix gray overlay on iOS Safari. (@philipp-spiess in #13778)
    • ๐Ÿ›  Fix a bug caused by overwriting window.event in development. (@sergei-startsev in #13697)

    React DOM Server

    โฑ Scheduler (Experimental)

    • โฑ Rename the package to scheduler. (@gaearon in #13683)
    • ๐Ÿ‘Œ Support priority levels, continuations, and wrapped callbacks. (@acdlite in #13720 and #13842)
    • ๐Ÿ‘Œ Improve the fallback mechanism in non-DOM environments. (@acdlite in #13740)
    • โฑ Schedule requestAnimationFrame earlier. (@acdlite in #13785)
    • ๐Ÿ›  Fix the DOM detection to be more thorough. (@trueadm in #13731)
    • ๐Ÿ›  Fix bugs with interaction tracing. (@bvaughn in #13590)
    • โž• Add the envify transform to the package. (@mridgway in #13766)