facebook/react
### [`v16.8.1`](https://togithub.com/facebook/react/blob/master/CHANGELOG.md#1681-February-6-2019)
[Compare Source](https://togithub.com/facebook/react/compare/v16.8.0...v16.8.1)
##### React DOM and React Test Renderer
- Fix a crash when used together with an older version of React. ([@bvaughn](https://togithub.com/bvaughn) in [#14770](https://togithub.com/facebook/react/pull/14770))
##### React Test Utils
- Fix a crash in Node environment. ([@threepointone](https://togithub.com/threepointone) in [#14768](https://togithub.com/facebook/react/pull/14768))
### [`v16.8.0`](https://togithub.com/facebook/react/blob/master/CHANGELOG.md#1680-February-6-2019)
[Compare Source](https://togithub.com/facebook/react/compare/v16.7.0...v16.8.0)
##### React
- Add [Hooks](https://reactjs.org/docs/hooks-intro.html) — a way to use state and other React features without writing a class. ([@acdlite](https://togithub.com/acdlite) et al. in [#13968](https://togithub.com/facebook/react/pull/13968))
- Improve the `useReducer` Hook lazy initialization API. ([@acdlite](https://togithub.com/acdlite) in [#14723](https://togithub.com/facebook/react/pull/14723))
##### React DOM
- Bail out of rendering on identical values for `useState` and `useReducer` Hooks. ([@acdlite](https://togithub.com/acdlite) in [#14569](https://togithub.com/facebook/react/pull/14569))
- Use `Object.is` algorithm for comparing `useState` and `useReducer` values. ([@Jessidhia](https://togithub.com/Jessidhia) in [#14752](https://togithub.com/facebook/react/pull/14752))
- Don’t compare the first argument passed to `useEffect`/`useMemo`/`useCallback` Hooks. ([@acdlite](https://togithub.com/acdlite) in [#14594](https://togithub.com/facebook/react/pull/14594))
- Support synchronous thenables passed to `React.lazy()`. ([@gaearon](https://togithub.com/gaearon) in [#14626](https://togithub.com/facebook/react/pull/14626))
- Render components with Hooks twice in Strict Mode (DEV-only) to match class behavior. ([@gaearon](https://togithub.com/gaearon) in [#14654](https://togithub.com/facebook/react/pull/14654))
- Warn about mismatching Hook order in development. ([@threepointone](https://togithub.com/threepointone) in [#14585](https://togithub.com/facebook/react/pull/14585) and [@acdlite](https://togithub.com/acdlite) in [#14591](https://togithub.com/facebook/react/pull/14591))
- Effect clean-up functions must return either `undefined` or a function. All other values, including `null`, are not allowed. [@acdlite](https://togithub.com/acdlite) in [#14119](https://togithub.com/facebook/react/pull/14119)
##### React Test Renderer and Test Utils
- Support Hooks in the shallow renderer. ([@trueadm](https://togithub.com/trueadm) in [#14567](https://togithub.com/facebook/react/pull/14567))
- Fix wrong state in `shouldComponentUpdate` in the presence of `getDerivedStateFromProps` for Shallow Renderer. ([@chenesan](https://togithub.com/chenesan) in [#14613](https://togithub.com/facebook/react/pull/14613))
- Add `ReactTestRenderer.act()` and `ReactTestUtils.act()` for batching updates so that tests more closely match real behavior. ([@threepointone](https://togithub.com/threepointone) in [#14744](https://togithub.com/facebook/react/pull/14744))
##### ESLint Plugin: React Hooks
- Initial [release](https://www.npmjs.com/package/eslint-plugin-react-hooks). ([@calebmer](https://togithub.com/calebmer) in [#13968](https://togithub.com/facebook/react/pull/13968))
- Fix reporting after encountering a loop. ([@calebmer](https://togithub.com/calebmer) and [@Yurickh](https://togithub.com/Yurickh) in [#14661](https://togithub.com/facebook/react/pull/14661))
- Don't consider throwing to be a rule violation. ([@sophiebits](https://togithub.com/sophiebits) in [#14040](https://togithub.com/facebook/react/pull/14040))
### [`v16.7.0`](https://togithub.com/facebook/react/blob/master/CHANGELOG.md#1670-December-19-2018)
##### React DOM
- Fix performance of `React.lazy` for large numbers of lazily-loaded components. ([@acdlite](http://github.com/acdlite) in [#14429](https://togithub.com/facebook/react/pull/14429))
- Clear fields on unmount to avoid memory leaks. ([@trueadm](http://github.com/trueadm) in [#14276](https://togithub.com/facebook/react/pull/14276))
- Fix bug with SSR and context when mixing `react-dom/server@16.6` and `react@<16.6`. ([@gaearon](http://github.com/gaearon) in [#14291](https://togithub.com/facebook/react/pull/14291))
- Fix a performance regression in profiling mode. ([@bvaughn](http://github.com/bvaughn) in [#14383](https://togithub.com/facebook/react/pull/14383))
##### Scheduler (Experimental)
- Post to MessageChannel instead of window. ([@acdlite](http://github.com/acdlite) in [#14234](https://togithub.com/facebook/react/pull/14234))
- Reduce serialization overhead. ([@developit](http://github.com/developit) in [#14249](https://togithub.com/facebook/react/pull/14249))
- Fix fallback to `setTimeout` in testing environments. ([@bvaughn](http://github.com/bvaughn) in [#14358](https://togithub.com/facebook/react/pull/14358))
- Add methods for debugging. ([@mrkev](http://github.com/mrkev) in [#14053](https://togithub.com/facebook/react/pull/14053))
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot. View repository job log here.
This PR contains the following updates:
16.7.0-alpha.2
->16.8.1
Release Notes
facebook/react
### [`v16.8.1`](https://togithub.com/facebook/react/blob/master/CHANGELOG.md#1681-February-6-2019) [Compare Source](https://togithub.com/facebook/react/compare/v16.8.0...v16.8.1) ##### React DOM and React Test Renderer - Fix a crash when used together with an older version of React. ([@bvaughn](https://togithub.com/bvaughn) in [#14770](https://togithub.com/facebook/react/pull/14770)) ##### React Test Utils - Fix a crash in Node environment. ([@threepointone](https://togithub.com/threepointone) in [#14768](https://togithub.com/facebook/react/pull/14768)) ### [`v16.8.0`](https://togithub.com/facebook/react/blob/master/CHANGELOG.md#1680-February-6-2019) [Compare Source](https://togithub.com/facebook/react/compare/v16.7.0...v16.8.0) ##### React - Add [Hooks](https://reactjs.org/docs/hooks-intro.html) — a way to use state and other React features without writing a class. ([@acdlite](https://togithub.com/acdlite) et al. in [#13968](https://togithub.com/facebook/react/pull/13968)) - Improve the `useReducer` Hook lazy initialization API. ([@acdlite](https://togithub.com/acdlite) in [#14723](https://togithub.com/facebook/react/pull/14723)) ##### React DOM - Bail out of rendering on identical values for `useState` and `useReducer` Hooks. ([@acdlite](https://togithub.com/acdlite) in [#14569](https://togithub.com/facebook/react/pull/14569)) - Use `Object.is` algorithm for comparing `useState` and `useReducer` values. ([@Jessidhia](https://togithub.com/Jessidhia) in [#14752](https://togithub.com/facebook/react/pull/14752)) - Don’t compare the first argument passed to `useEffect`/`useMemo`/`useCallback` Hooks. ([@acdlite](https://togithub.com/acdlite) in [#14594](https://togithub.com/facebook/react/pull/14594)) - Support synchronous thenables passed to `React.lazy()`. ([@gaearon](https://togithub.com/gaearon) in [#14626](https://togithub.com/facebook/react/pull/14626)) - Render components with Hooks twice in Strict Mode (DEV-only) to match class behavior. ([@gaearon](https://togithub.com/gaearon) in [#14654](https://togithub.com/facebook/react/pull/14654)) - Warn about mismatching Hook order in development. ([@threepointone](https://togithub.com/threepointone) in [#14585](https://togithub.com/facebook/react/pull/14585) and [@acdlite](https://togithub.com/acdlite) in [#14591](https://togithub.com/facebook/react/pull/14591)) - Effect clean-up functions must return either `undefined` or a function. All other values, including `null`, are not allowed. [@acdlite](https://togithub.com/acdlite) in [#14119](https://togithub.com/facebook/react/pull/14119) ##### React Test Renderer and Test Utils - Support Hooks in the shallow renderer. ([@trueadm](https://togithub.com/trueadm) in [#14567](https://togithub.com/facebook/react/pull/14567)) - Fix wrong state in `shouldComponentUpdate` in the presence of `getDerivedStateFromProps` for Shallow Renderer. ([@chenesan](https://togithub.com/chenesan) in [#14613](https://togithub.com/facebook/react/pull/14613)) - Add `ReactTestRenderer.act()` and `ReactTestUtils.act()` for batching updates so that tests more closely match real behavior. ([@threepointone](https://togithub.com/threepointone) in [#14744](https://togithub.com/facebook/react/pull/14744)) ##### ESLint Plugin: React Hooks - Initial [release](https://www.npmjs.com/package/eslint-plugin-react-hooks). ([@calebmer](https://togithub.com/calebmer) in [#13968](https://togithub.com/facebook/react/pull/13968)) - Fix reporting after encountering a loop. ([@calebmer](https://togithub.com/calebmer) and [@Yurickh](https://togithub.com/Yurickh) in [#14661](https://togithub.com/facebook/react/pull/14661)) - Don't consider throwing to be a rule violation. ([@sophiebits](https://togithub.com/sophiebits) in [#14040](https://togithub.com/facebook/react/pull/14040)) ### [`v16.7.0`](https://togithub.com/facebook/react/blob/master/CHANGELOG.md#1670-December-19-2018) ##### React DOM - Fix performance of `React.lazy` for large numbers of lazily-loaded components. ([@acdlite](http://github.com/acdlite) in [#14429](https://togithub.com/facebook/react/pull/14429)) - Clear fields on unmount to avoid memory leaks. ([@trueadm](http://github.com/trueadm) in [#14276](https://togithub.com/facebook/react/pull/14276)) - Fix bug with SSR and context when mixing `react-dom/server@16.6` and `react@<16.6`. ([@gaearon](http://github.com/gaearon) in [#14291](https://togithub.com/facebook/react/pull/14291)) - Fix a performance regression in profiling mode. ([@bvaughn](http://github.com/bvaughn) in [#14383](https://togithub.com/facebook/react/pull/14383)) ##### Scheduler (Experimental) - Post to MessageChannel instead of window. ([@acdlite](http://github.com/acdlite) in [#14234](https://togithub.com/facebook/react/pull/14234)) - Reduce serialization overhead. ([@developit](http://github.com/developit) in [#14249](https://togithub.com/facebook/react/pull/14249)) - Fix fallback to `setTimeout` in testing environments. ([@bvaughn](http://github.com/bvaughn) in [#14358](https://togithub.com/facebook/react/pull/14358)) - Add methods for debugging. ([@mrkev](http://github.com/mrkev) in [#14053](https://togithub.com/facebook/react/pull/14053))Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.