Changelog
16.8.0 (February 6, 2019)
useReducer
Hook lazy initialization API. (@acdlite in #14723)useState
and useReducer
Hooks. (@acdlite in #14569)Object.is
algorithm for comparing useState
and useReducer
values. (@Jessidhia in #14752)useEffect
/useMemo
/useCallback
Hooks. (@acdlite in #14594)React.lazy()
. (@gaearon in #14626)undefined
or a function. All other values, including null
, are not allowed. @acdlite in #14119shouldComponentUpdate
in the presence of getDerivedStateFromProps
for Shallow Renderer. (@chenesan in #14613)ReactTestRenderer.act()
and ReactTestUtils.act()
for batching updates so that tests more closely match real behavior. (@threepointone in #14744)Changelog
16.7.0 (December 19, 2018)
React.lazy
for large numbers of lazily-loaded components. (@acdlite in #14429)react-dom/server@16.6
and react@<16.6
. (@gaearon in #14291)