react-test-renderer
Advanced tools
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)