16.6.0 (October 23, 2018)
React
- Add
React.memo()as an alternative toPureComponentfor functions. (@acdlite in #13748) - Add
React.lazy()for code splitting components. (@acdlite in #13885) React.StrictModenow warns about legacy context API. (@bvaughn in #13760)React.StrictModenow warns aboutfindDOMNode. (@sebmarkbage in #13841)- Rename
unstable_AsyncModetounstable_ConcurrentMode. (@trueadm in #13732) - Rename
unstable_PlaceholdertoSuspense, anddelayMstomaxDuration. (@gaearon in #13799 and @sebmarkbage in #13922)
React DOM
- Add
contextTypeas a more ergonomic way to subscribe to context from a class. (@bvaughn in #13728) - Add
getDerivedStateFromErrorlifecycle 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 )