This is a bugfix-only release and updating is seamless. We encourage everyone to do so 👍
Bug Fixes
- Prevent
Suspense
from inadvertently modifying sharedComponent
class (#2594, thanks @andrewiggins) - Fix
Fragment
edge case (#2551, thanks @JoviDeCroock) - Check for existence of
requestAnimationFrame
while cancelling effects it (#2573, thanks @Hydrophobefireman) - Handle
setState
in render (#2565, thanks @jamesb3ll) - Fix
forwardRef
passing object instead of null (#2567, thanks @marvinhagemeister) - Normalize value prop on textareas in
compat
(#2558, thanks @btk5h) - Prevent
useReducer
from mutating the previous returned result (#2550, thanks @JoviDeCroock)
Maintenance
- Improve code coverage (#2596, thanks @andrewiggins)
- Optimize unpkg entry: Commonjs plus globals default export (#2261, thanks @developit)
- Share build output between action jobs (#2579, thanks @andrewiggins)
- Add TypeScript for extending JSX types with custom elements (#2581, thanks @andrewiggins)
- Update Node version in actions and format YAML files using prettier (#2577, thanks @andrewiggins)
- Add GitHub action to run benches (#2560, thanks @andrewiggins)
- Add many_updates benchmark (#2559, thanks @andrewiggins)
- 🏌️♂️ rAF check (#2555, thanks @developit)
- put rerenderCount on the Component prototype (#2552, thanks @JoviDeCroock)
- Use "babel-plugin-transform-rename-properties" to consistently mangle properties (#2548, thanks @andrewiggins)