Update Jun 8, 2026 tracked by Updatify
16.8.0 (February 6, 2019)
React
- Add Hooks — a way to use state and other React features without writing a class. (@acdlite et al. in #13968)
-
Improve the
useReducerHook lazy initialization API. (@acdlite in #14723)
React DOM
-
Bail out of rendering on identical values for
useStateanduseReducerHooks. (@acdlite in #14569) -
Use
Object.isalgorithm for comparinguseStateanduseReducervalues. (@Jessidhia in #14752) -
Don’t compare the first argument passed to
useEffect/useMemo/useCallbackHooks. (@acdlite in #14594) -
Support synchronous thenables passed to
React.lazy(). (@gaearon in #14626) - Render components with Hooks twice in Strict Mode (DEV-only) to match class behavior. (@gaearon in #14654)
- Warn about mismatching Hook order in development. (@threepointone in #14585 and @acdlite in #14591)
-
Effect clean-up functions must return either
undefinedor a function. All other values, includingnull, are not allowed. @acdlite in #14119
React Test Renderer and Test Utils
- Support Hooks in the shallow renderer. (@trueadm in #14567)
-
Fix wrong state in
shouldComponentUpdatein the presence ofgetDerivedStateFromPropsfor Shallow Renderer. (@chenesan in #14613) -
Add
ReactTestRenderer.act()andReactTestUtils.act()for batching updates so that tests more closely match real behavior. (@threepointone in #14744)