Changelog
16.8.2 (February 14, 2019)
ReactDOM.render
being ignored inside useEffect
. (@gaearon in #14799)useImperativeHandle
to work correctly when no deps are specified. (@gaearon in #14801)crossOrigin
attribute to work in SVG image
elements. (@aweary in #14832)act()
warning. (@threepointone in #14855)Changelog
16.8.1 (February 6, 2019)
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)