Dependencies.io has updated react-dom (a npm dependency in /web) from "16.3.2" to "16.8.4".
16.8.4
### React DOM and other renderers
- Fix a bug where DevTools caused a runtime error when inspecting a component that used a `useContext` hook. ([bvaughn](https://github.com/bvaughn) in [#14940](https://www.dependencies.io/github-redirect/facebook/react/pull/14940))
16.8.3
### React DOM
- Fix a bug that caused inputs to behave incorrectly in UMD builds. ([gaearon](https://github.com/gaearon) in [#14914](https://www.dependencies.io/github-redirect/facebook/react/pull/14914))
- Fix a bug that caused render phase updates to be discarded. ([gaearon](https://github.com/gaearon) in [#14852](https://www.dependencies.io/github-redirect/facebook/react/pull/14852))
### React DOM Server
- Unwind the context stack when a stream is destroyed without completing, to prevent incorrect values during a subsequent render. ([overlookmotel](https://github.com/overlookmotel) in [#14706](https://www.dependencies.io/github-redirect/facebook/react/pull/14706/))
## ESLint Plugin for React Hooks
* Add a new recommended `exhaustive-deps` rule. ([gaearon](https://github.com/gaearon) in [#14636](https://www.dependencies.io/github-redirect/facebook/react/pull/14636))
## Artifacts
* **react**: https://unpkg.com/react@16.8.3/umd/
* **react-art**: https://unpkg.com/react-art@16.8.3/umd/
* **react-dom**: https://unpkg.com/react-dom@16.8.3/umd/
* **react-is**: https://unpkg.com/react-is@16.8.3/umd/
* **react-test-renderer**: https://unpkg.com/react-test-renderer@16.8.3/umd/
* **scheduler**: https://unpkg.com/scheduler@0.13.3/umd/
16.8.2
### React DOM
* Fix `ReactDOM.render` being ignored inside `useEffect`. ([gaearon](https://github.com/gaearon) in [#14799](https://www.dependencies.io/github-redirect/facebook/react/pull/14799))
* Fix a crash when unmounting empty portals. ([gaearon](https://github.com/gaearon) in [#14820](https://www.dependencies.io/github-redirect/facebook/react/pull/14820))
* Fix `useImperativeHandle` to work correctly when no deps are specified. ([gaearon](https://github.com/gaearon) in [#14801](https://www.dependencies.io/github-redirect/facebook/react/pull/14801))
* Fix `crossOrigin` attribute to work in SVG `image` elements. ([aweary](https://github.com/aweary) in [#14832](https://www.dependencies.io/github-redirect/facebook/react/pull/14832))
* Fix a false positive warning when using Suspense with Hooks. ([gaearon](https://github.com/gaearon) in [#14821](https://www.dependencies.io/github-redirect/facebook/react/pull/14821))
### React Test Utils and React Test Renderer
* Include component stack into the `act()` warning. ([threepointone](https://github.com/threepointone) in [#14855](https://www.dependencies.io/github-redirect/facebook/react/pull/14855))
## Artifacts
* **react**: https://unpkg.com/react@16.8.2/umd/
* **react-art**: https://unpkg.com/react-art@16.8.2/umd/
* **react-dom**: https://unpkg.com/react-dom@16.8.2/umd/
* **react-is**: https://unpkg.com/react-is@16.8.2/umd/
* **react-test-renderer**: https://unpkg.com/react-test-renderer@16.8.2/umd/
* **scheduler**: https://unpkg.com/scheduler@0.13.2/umd/
16.8.1
### React DOM and React Test Renderer
* Fix a crash when used together with an older version of React. ([bvaughn](https://github.com/bvaughn) in [#14770](https://www.dependencies.io/github-redirect/facebook/react/pull/14770))
### React Test Utils
* Fix a crash in Node environment. ([threepointone](https://github.com/threepointone) in [#14768](https://www.dependencies.io/github-redirect/facebook/react/pull/14768))
## Artifacts
* **react**: https://unpkg.com/react@16.8.1/umd/
* **react-art**: https://unpkg.com/react-art@16.8.1/umd/
* **react-dom**: https://unpkg.com/react-dom@16.8.1/umd/
* **react-is**: https://unpkg.com/react-is@16.8.1/umd/
* **react-test-renderer**: https://unpkg.com/react-test-renderer@16.8.1/umd/
* **scheduler**: https://unpkg.com/scheduler@0.13.1/umd/
16.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://github.com/acdlite) et al. in [#13968](https://www.dependencies.io/github-redirect/facebook/react/pull/13968))
* Improve the `useReducer` Hook lazy initialization API. ([acdlite](https://github.com/acdlite) in [#14723](https://www.dependencies.io/github-redirect/facebook/react/pull/14723))
### React DOM
* Bail out of rendering on identical values for `useState` and `useReducer` Hooks. ([acdlite](https://github.com/acdlite) in [#14569](https://www.dependencies.io/github-redirect/facebook/react/pull/14569))
* Use `Object.is` algorithm for comparing `useState` and `useReducer` values. ([Jessidhia](https://github.com/Jessidhia) in [#14752](https://www.dependencies.io/github-redirect/facebook/react/pull/14752))
* Don’t compare the first argument passed to `useEffect`/`useMemo`/`useCallback` Hooks. ([acdlite](https://github.com/acdlite) in [#14594](https://www.dependencies.io/github-redirect/facebook/react/pull/14594))
* Support synchronous thenables passed to `React.lazy()`. ([gaearon](https://github.com/gaearon) in [#14626](https://www.dependencies.io/github-redirect/facebook/react/pull/14626))
* Render components with Hooks twice in Strict Mode (DEV-only) to match class behavior. ([gaearon](https://github.com/gaearon) in [#14654](https://www.dependencies.io/github-redirect/facebook/react/pull/14654))
* Warn about mismatching Hook order in development. ([threepointone](https://github.com/threepointone) in [#14585](https://www.dependencies.io/github-redirect/facebook/react/pull/14585) and [acdlite](https://github.com/acdlite) in [#14591](https://www.dependencies.io/github-redirect/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://github.com/acdlite) in [#14119](https://www.dependencies.io/github-redirect/facebook/react/pull/14119)
### React Test Renderer and Test Utils
* Support Hooks in the shallow renderer. ([trueadm](https://github.com/trueadm) in [#14567](https://www.dependencies.io/github-redirect/facebook/react/pull/14567))
* Fix wrong state in `shouldComponentUpdate` in the presence of `getDerivedStateFromProps` for Shallow Renderer. ([chenesan](https://github.com/chenesan) in [#14613](https://www.dependencies.io/github-redirect/facebook/react/pull/14613))
* Add `ReactTestRenderer.act()` and `ReactTestUtils.act()` for batching updates so that tests more closely match real behavior. ([threepointone](https://github.com/threepointone) in [#14744](https://www.dependencies.io/github-redirect/facebook/react/pull/14744))
### ESLint Plugin: React Hooks
* Initial [release](https://www.npmjs.com/package/eslint-plugin-react-hooks). ([calebmer](https://github.com/calebmer) in [#13968](https://www.dependencies.io/github-redirect/facebook/react/pull/13968))
* Fix reporting after encountering a loop. ([calebmer](https://github.com/calebmer) and [Yurickh](https://github.com/Yurickh) in [#14661](https://www.dependencies.io/github-redirect/facebook/react/pull/14661))
* Don't consider throwing to be a rule violation. ([sophiebits](https://github.com/sophiebits) in [#14040](https://www.dependencies.io/github-redirect/facebook/react/pull/14040))
## Artifacts
* **react**: https://unpkg.com/react@16.8.0/umd/
* **react-art**: https://unpkg.com/react-art@16.8.0/umd/
* **react-dom**: https://unpkg.com/react-dom@16.8.0/umd/
* **react-is**: https://unpkg.com/react-is@16.8.0/umd/
* **react-test-renderer**: https://unpkg.com/react-test-renderer@16.8.0/umd/
* **scheduler**: https://unpkg.com/scheduler@0.13.0/umd/
16.7.0
### React DOM
* Fix performance of `React.lazy` for large numbers of lazily-loaded components. ([acdlite](http://github.com/acdlite) in [#14429](https://www.dependencies.io/github-redirect/facebook/react/pull/14429))
* Clear fields on unmount to avoid memory leaks. ([trueadm](http://github.com/trueadm) in [#14276](https://www.dependencies.io/github-redirect/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://www.dependencies.io/github-redirect/facebook/react/pull/14291))
* Fix a performance regression in profiling mode. ([bvaughn](http://github.com/bvaughn) in [#14383](https://www.dependencies.io/github-redirect/facebook/react/pull/14383))
### Scheduler (Experimental)
* Post to MessageChannel instead of window. ([acdlite](http://github.com/acdlite) in [#14234](https://www.dependencies.io/github-redirect/facebook/react/pull/14234))
* Reduce serialization overhead. ([developit](http://github.com/developit) in [#14249](https://www.dependencies.io/github-redirect/facebook/react/pull/14249))
* Fix fallback to `setTimeout` in testing environments. ([bvaughn](http://github.com/bvaughn) in [#14358](https://www.dependencies.io/github-redirect/facebook/react/pull/14358))
* Add methods for debugging. ([mrkev](http://github.com/mrkev) in [#14053](https://www.dependencies.io/github-redirect/facebook/react/pull/14053))
## Artifacts
* **react**: https://unpkg.com/react@16.7.0/umd/
* **react-art**: https://unpkg.com/react-art@16.7.0/umd/
* **react-dom**: https://unpkg.com/react-dom@16.7.0/umd/
* **react-is**: https://unpkg.com/react-is@16.7.0/umd/
* **react-test-renderer**: https://unpkg.com/react-test-renderer@16.7.0/umd/
* **scheduler**: https://unpkg.com/scheduler@0.12.0/umd/
16.6.3
### React DOM
* Fix bugs in `Suspense` and `lazy`. ([acdlite](https://github.com/acdlite) in [#14133](https://www.dependencies.io/github-redirect/facebook/react/pull/14133), [#14157](https://www.dependencies.io/github-redirect/facebook/react/pull/14157), and [#14164](https://www.dependencies.io/github-redirect/facebook/react/pull/14164))
* Fix highlighting of `React.memo` updates in React DevTools. ([bvaughn](https://github.com/bvaughn) in [#14141](https://www.dependencies.io/github-redirect/facebook/react/pull/14141))
* Fix interaction of Suspense with the React Profiler. ([bvaughn](https://github.com/bvaughn) in [#14065](https://www.dependencies.io/github-redirect/facebook/react/pull/14065))
* Fix a false positive warning when using Suspense. ([acdlite](https://github.com/acdlite) in [#14158](https://www.dependencies.io/github-redirect/facebook/react/pull/14158))
### React DOM Server
* Fix incorrect sharing of context state between `renderToNodeStream()` calls. ([sebmarkbage](https://github.com/sebmarkbage) in [#14182](https://www.dependencies.io/github-redirect/facebook/react/pull/14182))
* Add a warning about incorrect usage of the context API. ([trueadm](https://github.com/trueadm) in [#14033](https://www.dependencies.io/github-redirect/facebook/react/pull/14033))
16.6.2
This release was published in a broken state and should be skipped.
16.6.1
### React DOM
* Fallback should not remount every time a promise resolves. ([acdlite](https://github.com/acdlite) in [#14083](https://www.dependencies.io/github-redirect/facebook/react/pull/14083))
* Fix bug where Suspense keeps showing fallback even after everything finishes loading. ([acdlite](https://github.com/acdlite) in [#14083](https://www.dependencies.io/github-redirect/facebook/react/pull/14083))
* Fix a crash when Suspense finishes loading in IE11. ([sophiebits](https://github.com/sophiebits) in [#14126](https://www.dependencies.io/github-redirect/facebook/react/pull/14126))
* Fix unresolved default props in lifecycle methods of a lazy component. ([gaearon](https://github.com/gaearon) in [#14112](https://www.dependencies.io/github-redirect/facebook/react/pull/14112))
* Fix bug when recovering from an error thrown during complete phase. ([gaearon](https://github.com/gaearon) in [#14104](https://www.dependencies.io/github-redirect/facebook/react/pull/14104))
### Scheduler (Experimental)
* Switch from deadline object to `shouldYield` API. ([acdlite](https://github.com/acdlite) in [#14025](https://www.dependencies.io/github-redirect/facebook/react/pull/14025))
16.6.0
### React
* Add `React.memo()` as an alternative to `PureComponent` for functions. ([acdlite](https://github.com/acdlite) in [#13748](https://www.dependencies.io/github-redirect/facebook/react/pull/13748))
* Add `React.lazy()` for code splitting components. ([acdlite](https://github.com/acdlite) in [#13885](https://www.dependencies.io/github-redirect/facebook/react/pull/13885))
* `React.StrictMode` now warns about legacy context API. ([bvaughn](https://github.com/bvaughn) in [#13760](https://www.dependencies.io/github-redirect/facebook/react/pull/13760))
* `React.StrictMode` now warns about `findDOMNode`. ([sebmarkbage](https://github.com/sebmarkbage) in [#13841](https://www.dependencies.io/github-redirect/facebook/react/pull/13841))
* Rename `unstable_AsyncMode` to `unstable_ConcurrentMode`. ([trueadm](https://github.com/trueadm) in [#13732](https://www.dependencies.io/github-redirect/facebook/react/pull/13732))
* Rename `unstable_Placeholder` to `Suspense`, and `delayMs` to `maxDuration`. ([gaearon](https://github.com/gaearon) in [#13799](https://www.dependencies.io/github-redirect/facebook/react/pull/13799) and [sebmarkbage](https://github.com/sebmarkbage) in [#13922](https://www.dependencies.io/github-redirect/facebook/react/pull/13922))
### React DOM
* Add `contextType` as a more ergonomic way to subscribe to context from a class. ([bvaughn](https://github.com/bvaughn) in [#13728](https://www.dependencies.io/github-redirect/facebook/react/pull/13728))
* Add `getDerivedStateFromError` lifecycle method for catching errors in a future asynchronous server-side renderer. ([bvaughn](https://github.com/bvaughn) in [#13746](https://www.dependencies.io/github-redirect/facebook/react/pull/13746))
* Warn when `` is used instead of ``. ([trueadm](https://github.com/trueadm) in [#13829](https://www.dependencies.io/github-redirect/facebook/react/pull/13829))
* Fix gray overlay on iOS Safari. ([philipp-spiess](https://github.com/philipp-spiess) in [#13778](https://www.dependencies.io/github-redirect/facebook/react/pull/13778))
* Fix a bug caused by overwriting `window.event` in development. ([sergei-startsev](https://github.com/sergei-startsev) in [#13697](https://www.dependencies.io/github-redirect/facebook/react/pull/13697))
### React DOM Server
* Add support for `React.memo()`. ([alexmckenley](https://github.com/alexmckenley) in [#13855](https://www.dependencies.io/github-redirect/facebook/react/pull/13855))
* Add support for `contextType`. ([alexmckenley](https://github.com/alexmckenley) and [sebmarkbage](https://github.com/sebmarkbage) in [#13889](https://www.dependencies.io/github-redirect/facebook/react/pull/13889))
### Scheduler (Experimental)
* Rename the package to `scheduler`. ([gaearon](https://github.com/gaearon) in [#13683](https://www.dependencies.io/github-redirect/facebook/react/pull/13683))
* Support priority levels, continuations, and wrapped callbacks. ([acdlite](https://github.com/acdlite) in [#13720](https://www.dependencies.io/github-redirect/facebook/react/pull/13720) and [#13842](https://www.dependencies.io/github-redirect/facebook/react/pull/13842))
* Improve the fallback mechanism in non-DOM environments. ([acdlite](https://github.com/acdlite) in [#13740](https://www.dependencies.io/github-redirect/facebook/react/pull/13740))
* Schedule `requestAnimationFrame` earlier. ([acdlite](https://github.com/acdlite) in [#13785](https://www.dependencies.io/github-redirect/facebook/react/pull/13785))
* Fix the DOM detection to be more thorough. ([trueadm](https://github.com/trueadm) in [#13731](https://www.dependencies.io/github-redirect/facebook/react/pull/13731))
* Fix bugs with interaction tracing. ([bvaughn](https://github.com/bvaughn) in [#13590](https://www.dependencies.io/github-redirect/facebook/react/pull/13590))
* Add the `envify` transform to the package. ([mridgway](https://github.com/mridgway) in [#13766](https://www.dependencies.io/github-redirect/facebook/react/pull/13766))
16.5.2
### React DOM
* Fixed a recent `16.5.1
## 16.5.1 (September 13, 2018)
### React
* Improve the warning when `React.forwardRef` receives an unexpected number of arguments. ([andresroberto](https://github.com/andresroberto) in [#13636](https://www.dependencies.io/github-redirect/facebook/react/issues/13636))
### React DOM
* Fix a regression in unstable exports used by React Native Web. ([aweary](https://github.com/aweary) in [#13598](https://www.dependencies.io/github-redirect/facebook/react/issues/13598))
* Fix a crash when component defines a method called `isReactComponent`. ([gaearon](https://github.com/gaearon) in [#13608](https://www.dependencies.io/github-redirect/facebook/react/issues/13608))
* Fix a crash in development mode in IE9 when printing a warning. ([link-alex](https://github.com/link-alex) in [#13620](https://www.dependencies.io/github-redirect/facebook/react/issues/13620))
* Provide a better error message when running `react-dom/profiling` with `schedule/tracking`. ([bvaughn](https://github.com/bvaughn) in [#13605](https://www.dependencies.io/github-redirect/facebook/react/issues/13605))
* If a `ForwardRef` component defines a `displayName`, use it in warnings. ([probablyup](https://github.com/probablyup) in [#13615](https://www.dependencies.io/github-redirect/facebook/react/issues/13615))
### Schedule (Experimental)
* Add a separate profiling entry point at `schedule/tracking-profiling`. ([bvaughn](https://github.com/bvaughn) in [#13605](https://www.dependencies.io/github-redirect/facebook/react/issues/13605))
16.5.0
### React
* Add a warning if `React.forwardRef` render function doesn't take exactly two arguments ([bvaughn](https://github.com/bvaughn) in [#13168](https://www.dependencies.io/github-redirect/facebook/react/issues/13168))
* Improve the error message when passing an element to `createElement` by mistake ([DCtheTall](https://github.com/DCtheTall) in [#13131](https://www.dependencies.io/github-redirect/facebook/react/issues/13131))
* Don't call profiler `onRender` until after mutations ([bvaughn](https://github.com/bvaughn) in [#13572](https://www.dependencies.io/github-redirect/facebook/react/issues/13572))
### React DOM
* Add support for React DevTools Profiler ([bvaughn](https://github.com/bvaughn) in [#13058](https://www.dependencies.io/github-redirect/facebook/react/issues/13058))
* Add `react-dom/profiling` entry point alias for profiling in production ([bvaughn](https://github.com/bvaughn) in [#13570](https://www.dependencies.io/github-redirect/facebook/react/issues/13570))
* Add `onAuxClick` event for browsers that support it ([jquense](https://github.com/jquense) in [#11571](https://www.dependencies.io/github-redirect/facebook/react/issues/11571))
* Add `movementX` and `movementY` fields to mouse events ([jasonwilliams](https://github.com/jasonwilliams) in [#9018](https://www.dependencies.io/github-redirect/facebook/react/issues/9018))
* Add `tangentialPressure` and `twist` fields to pointer events ([motiz88](https://github.com/motiz88) in [#13374](https://www.dependencies.io/github-redirect/facebook/react/issues/13374))
* Minimally support iframes (nested browsing contexts) in selection event handling ([acusti](https://github.com/acusti) in [#12037](https://www.dependencies.io/github-redirect/facebook/react/issues/12037))
* Support passing booleans to the `focusable` SVG attribute ([gaearon](https://github.com/gaearon) in [#13339](https://www.dependencies.io/github-redirect/facebook/react/issues/13339))
* Ignore `16.4.2
### React DOM Server
* Fix a [potential XSS vulnerability when the attacker controls an attribute name](https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html) (`CVE-2018-6341`). This fix is available in the latest `react-dom@16.4.2`, as well as in previous affected minor versions: `react-dom@16.0.1`, `react-dom@16.1.2`, `react-dom@16.2.1`, and `react-dom@16.3.3`. ([gaearon](https://github.com/gaearon) in [#13302](https://www.dependencies.io/github-redirect/facebook/react/pull/13302))
* Fix a crash in the server renderer when an attribute is called `hasOwnProperty`. This fix is only available in `react-dom@16.4.2`. ([gaearon](https://github.com/gaearon) in [#13303](https://www.dependencies.io/github-redirect/facebook/react/pull/13303))
16.4.1
### React
* You can now assign `propTypes` to components returned by `React.ForwardRef`. ([bvaughn](https://github.com/bvaughn) in [#12911](https://www.dependencies.io/github-redirect/facebook/react/pull/12911))
### React DOM
* Fix a crash when the input `type` changes from some other types to `text`. ([spirosikmd](https://github.com/spirosikmd) in [#12135](https://www.dependencies.io/github-redirect/facebook/react/pull/12135))
* Fix a crash in IE11 when restoring focus to an SVG element. ([ThaddeusJiang](https://github.com/ThaddeusJiang) in [#12996](https://www.dependencies.io/github-redirect/facebook/react/pull/12996))
* Fix a range input not updating in some cases. ([Illu](https://github.com/Illu) in [#12939](https://www.dependencies.io/github-redirect/facebook/react/pull/12939))
* Fix input validation triggering unnecessarily in Firefox. ([nhunzaker](https://github.com/nhunzaker) in [#12925](https://www.dependencies.io/github-redirect/facebook/react/pull/12925))
* Fix an incorrect `event.target` value for the `onChange` event in IE9. ([nhunzaker](https://github.com/nhunzaker) in [#12976](https://www.dependencies.io/github-redirect/facebook/react/pull/12976))
* Fix a false positive error when returning an empty `` from a component. ([philipp-spiess](https://github.com/philipp-spiess) in [#12966](https://www.dependencies.io/github-redirect/facebook/react/pull/12966))
### React DOM Server
* Fix an incorrect value being provided by new context API. ([ericsoderberghp](https://github.com/ericsoderberghp) in [#12985](https://www.dependencies.io/github-redirect/facebook/react/pull/12985), [gaearon](https://github.com/gaearon) in [#13019](https://www.dependencies.io/github-redirect/facebook/react/pull/13019))
### React Test Renderer
* Allow multiple root children in test renderer traversal API. ([gaearon](https://github.com/gaearon) in [#13017](https://www.dependencies.io/github-redirect/facebook/react/pull/13017))
* Fix `getDerivedStateFromProps()` in the shallow renderer to not discard the pending state. ([fatfisz](https://github.com/fatfisz) in [#13030](https://www.dependencies.io/github-redirect/facebook/react/pull/13030))
Dependencies.io has updated
react-dom
(a npm dependency in/web
) from "16.3.2" to "16.8.4".16.8.4
### React DOM and other renderers - Fix a bug where DevTools caused a runtime error when inspecting a component that used a `useContext` hook. ([bvaughn](https://github.com/bvaughn) in [#14940](https://www.dependencies.io/github-redirect/facebook/react/pull/14940))16.8.3
### React DOM - Fix a bug that caused inputs to behave incorrectly in UMD builds. ([gaearon](https://github.com/gaearon) in [#14914](https://www.dependencies.io/github-redirect/facebook/react/pull/14914)) - Fix a bug that caused render phase updates to be discarded. ([gaearon](https://github.com/gaearon) in [#14852](https://www.dependencies.io/github-redirect/facebook/react/pull/14852)) ### React DOM Server - Unwind the context stack when a stream is destroyed without completing, to prevent incorrect values during a subsequent render. ([overlookmotel](https://github.com/overlookmotel) in [#14706](https://www.dependencies.io/github-redirect/facebook/react/pull/14706/)) ## ESLint Plugin for React Hooks * Add a new recommended `exhaustive-deps` rule. ([gaearon](https://github.com/gaearon) in [#14636](https://www.dependencies.io/github-redirect/facebook/react/pull/14636)) ## Artifacts * **react**: https://unpkg.com/react@16.8.3/umd/ * **react-art**: https://unpkg.com/react-art@16.8.3/umd/ * **react-dom**: https://unpkg.com/react-dom@16.8.3/umd/ * **react-is**: https://unpkg.com/react-is@16.8.3/umd/ * **react-test-renderer**: https://unpkg.com/react-test-renderer@16.8.3/umd/ * **scheduler**: https://unpkg.com/scheduler@0.13.3/umd/16.8.2
### React DOM * Fix `ReactDOM.render` being ignored inside `useEffect`. ([gaearon](https://github.com/gaearon) in [#14799](https://www.dependencies.io/github-redirect/facebook/react/pull/14799)) * Fix a crash when unmounting empty portals. ([gaearon](https://github.com/gaearon) in [#14820](https://www.dependencies.io/github-redirect/facebook/react/pull/14820)) * Fix `useImperativeHandle` to work correctly when no deps are specified. ([gaearon](https://github.com/gaearon) in [#14801](https://www.dependencies.io/github-redirect/facebook/react/pull/14801)) * Fix `crossOrigin` attribute to work in SVG `image` elements. ([aweary](https://github.com/aweary) in [#14832](https://www.dependencies.io/github-redirect/facebook/react/pull/14832)) * Fix a false positive warning when using Suspense with Hooks. ([gaearon](https://github.com/gaearon) in [#14821](https://www.dependencies.io/github-redirect/facebook/react/pull/14821)) ### React Test Utils and React Test Renderer * Include component stack into the `act()` warning. ([threepointone](https://github.com/threepointone) in [#14855](https://www.dependencies.io/github-redirect/facebook/react/pull/14855)) ## Artifacts * **react**: https://unpkg.com/react@16.8.2/umd/ * **react-art**: https://unpkg.com/react-art@16.8.2/umd/ * **react-dom**: https://unpkg.com/react-dom@16.8.2/umd/ * **react-is**: https://unpkg.com/react-is@16.8.2/umd/ * **react-test-renderer**: https://unpkg.com/react-test-renderer@16.8.2/umd/ * **scheduler**: https://unpkg.com/scheduler@0.13.2/umd/16.8.1
### React DOM and React Test Renderer * Fix a crash when used together with an older version of React. ([bvaughn](https://github.com/bvaughn) in [#14770](https://www.dependencies.io/github-redirect/facebook/react/pull/14770)) ### React Test Utils * Fix a crash in Node environment. ([threepointone](https://github.com/threepointone) in [#14768](https://www.dependencies.io/github-redirect/facebook/react/pull/14768)) ## Artifacts * **react**: https://unpkg.com/react@16.8.1/umd/ * **react-art**: https://unpkg.com/react-art@16.8.1/umd/ * **react-dom**: https://unpkg.com/react-dom@16.8.1/umd/ * **react-is**: https://unpkg.com/react-is@16.8.1/umd/ * **react-test-renderer**: https://unpkg.com/react-test-renderer@16.8.1/umd/ * **scheduler**: https://unpkg.com/scheduler@0.13.1/umd/16.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://github.com/acdlite) et al. in [#13968](https://www.dependencies.io/github-redirect/facebook/react/pull/13968)) * Improve the `useReducer` Hook lazy initialization API. ([acdlite](https://github.com/acdlite) in [#14723](https://www.dependencies.io/github-redirect/facebook/react/pull/14723)) ### React DOM * Bail out of rendering on identical values for `useState` and `useReducer` Hooks. ([acdlite](https://github.com/acdlite) in [#14569](https://www.dependencies.io/github-redirect/facebook/react/pull/14569)) * Use `Object.is` algorithm for comparing `useState` and `useReducer` values. ([Jessidhia](https://github.com/Jessidhia) in [#14752](https://www.dependencies.io/github-redirect/facebook/react/pull/14752)) * Don’t compare the first argument passed to `useEffect`/`useMemo`/`useCallback` Hooks. ([acdlite](https://github.com/acdlite) in [#14594](https://www.dependencies.io/github-redirect/facebook/react/pull/14594)) * Support synchronous thenables passed to `React.lazy()`. ([gaearon](https://github.com/gaearon) in [#14626](https://www.dependencies.io/github-redirect/facebook/react/pull/14626)) * Render components with Hooks twice in Strict Mode (DEV-only) to match class behavior. ([gaearon](https://github.com/gaearon) in [#14654](https://www.dependencies.io/github-redirect/facebook/react/pull/14654)) * Warn about mismatching Hook order in development. ([threepointone](https://github.com/threepointone) in [#14585](https://www.dependencies.io/github-redirect/facebook/react/pull/14585) and [acdlite](https://github.com/acdlite) in [#14591](https://www.dependencies.io/github-redirect/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://github.com/acdlite) in [#14119](https://www.dependencies.io/github-redirect/facebook/react/pull/14119) ### React Test Renderer and Test Utils * Support Hooks in the shallow renderer. ([trueadm](https://github.com/trueadm) in [#14567](https://www.dependencies.io/github-redirect/facebook/react/pull/14567)) * Fix wrong state in `shouldComponentUpdate` in the presence of `getDerivedStateFromProps` for Shallow Renderer. ([chenesan](https://github.com/chenesan) in [#14613](https://www.dependencies.io/github-redirect/facebook/react/pull/14613)) * Add `ReactTestRenderer.act()` and `ReactTestUtils.act()` for batching updates so that tests more closely match real behavior. ([threepointone](https://github.com/threepointone) in [#14744](https://www.dependencies.io/github-redirect/facebook/react/pull/14744)) ### ESLint Plugin: React Hooks * Initial [release](https://www.npmjs.com/package/eslint-plugin-react-hooks). ([calebmer](https://github.com/calebmer) in [#13968](https://www.dependencies.io/github-redirect/facebook/react/pull/13968)) * Fix reporting after encountering a loop. ([calebmer](https://github.com/calebmer) and [Yurickh](https://github.com/Yurickh) in [#14661](https://www.dependencies.io/github-redirect/facebook/react/pull/14661)) * Don't consider throwing to be a rule violation. ([sophiebits](https://github.com/sophiebits) in [#14040](https://www.dependencies.io/github-redirect/facebook/react/pull/14040)) ## Artifacts * **react**: https://unpkg.com/react@16.8.0/umd/ * **react-art**: https://unpkg.com/react-art@16.8.0/umd/ * **react-dom**: https://unpkg.com/react-dom@16.8.0/umd/ * **react-is**: https://unpkg.com/react-is@16.8.0/umd/ * **react-test-renderer**: https://unpkg.com/react-test-renderer@16.8.0/umd/ * **scheduler**: https://unpkg.com/scheduler@0.13.0/umd/16.7.0
### React DOM * Fix performance of `React.lazy` for large numbers of lazily-loaded components. ([acdlite](http://github.com/acdlite) in [#14429](https://www.dependencies.io/github-redirect/facebook/react/pull/14429)) * Clear fields on unmount to avoid memory leaks. ([trueadm](http://github.com/trueadm) in [#14276](https://www.dependencies.io/github-redirect/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://www.dependencies.io/github-redirect/facebook/react/pull/14291)) * Fix a performance regression in profiling mode. ([bvaughn](http://github.com/bvaughn) in [#14383](https://www.dependencies.io/github-redirect/facebook/react/pull/14383)) ### Scheduler (Experimental) * Post to MessageChannel instead of window. ([acdlite](http://github.com/acdlite) in [#14234](https://www.dependencies.io/github-redirect/facebook/react/pull/14234)) * Reduce serialization overhead. ([developit](http://github.com/developit) in [#14249](https://www.dependencies.io/github-redirect/facebook/react/pull/14249)) * Fix fallback to `setTimeout` in testing environments. ([bvaughn](http://github.com/bvaughn) in [#14358](https://www.dependencies.io/github-redirect/facebook/react/pull/14358)) * Add methods for debugging. ([mrkev](http://github.com/mrkev) in [#14053](https://www.dependencies.io/github-redirect/facebook/react/pull/14053)) ## Artifacts * **react**: https://unpkg.com/react@16.7.0/umd/ * **react-art**: https://unpkg.com/react-art@16.7.0/umd/ * **react-dom**: https://unpkg.com/react-dom@16.7.0/umd/ * **react-is**: https://unpkg.com/react-is@16.7.0/umd/ * **react-test-renderer**: https://unpkg.com/react-test-renderer@16.7.0/umd/ * **scheduler**: https://unpkg.com/scheduler@0.12.0/umd/16.6.3
### React DOM * Fix bugs in `Suspense` and `lazy`. ([acdlite](https://github.com/acdlite) in [#14133](https://www.dependencies.io/github-redirect/facebook/react/pull/14133), [#14157](https://www.dependencies.io/github-redirect/facebook/react/pull/14157), and [#14164](https://www.dependencies.io/github-redirect/facebook/react/pull/14164)) * Fix highlighting of `React.memo` updates in React DevTools. ([bvaughn](https://github.com/bvaughn) in [#14141](https://www.dependencies.io/github-redirect/facebook/react/pull/14141)) * Fix interaction of Suspense with the React Profiler. ([bvaughn](https://github.com/bvaughn) in [#14065](https://www.dependencies.io/github-redirect/facebook/react/pull/14065)) * Fix a false positive warning when using Suspense. ([acdlite](https://github.com/acdlite) in [#14158](https://www.dependencies.io/github-redirect/facebook/react/pull/14158)) ### React DOM Server * Fix incorrect sharing of context state between `renderToNodeStream()` calls. ([sebmarkbage](https://github.com/sebmarkbage) in [#14182](https://www.dependencies.io/github-redirect/facebook/react/pull/14182)) * Add a warning about incorrect usage of the context API. ([trueadm](https://github.com/trueadm) in [#14033](https://www.dependencies.io/github-redirect/facebook/react/pull/14033))16.6.2
This release was published in a broken state and should be skipped.16.6.1
### React DOM * Fallback should not remount every time a promise resolves. ([acdlite](https://github.com/acdlite) in [#14083](https://www.dependencies.io/github-redirect/facebook/react/pull/14083)) * Fix bug where Suspense keeps showing fallback even after everything finishes loading. ([acdlite](https://github.com/acdlite) in [#14083](https://www.dependencies.io/github-redirect/facebook/react/pull/14083)) * Fix a crash when Suspense finishes loading in IE11. ([sophiebits](https://github.com/sophiebits) in [#14126](https://www.dependencies.io/github-redirect/facebook/react/pull/14126)) * Fix unresolved default props in lifecycle methods of a lazy component. ([gaearon](https://github.com/gaearon) in [#14112](https://www.dependencies.io/github-redirect/facebook/react/pull/14112)) * Fix bug when recovering from an error thrown during complete phase. ([gaearon](https://github.com/gaearon) in [#14104](https://www.dependencies.io/github-redirect/facebook/react/pull/14104)) ### Scheduler (Experimental) * Switch from deadline object to `shouldYield` API. ([acdlite](https://github.com/acdlite) in [#14025](https://www.dependencies.io/github-redirect/facebook/react/pull/14025))16.6.0
### React * Add `React.memo()` as an alternative to `PureComponent` for functions. ([acdlite](https://github.com/acdlite) in [#13748](https://www.dependencies.io/github-redirect/facebook/react/pull/13748)) * Add `React.lazy()` for code splitting components. ([acdlite](https://github.com/acdlite) in [#13885](https://www.dependencies.io/github-redirect/facebook/react/pull/13885)) * `React.StrictMode` now warns about legacy context API. ([bvaughn](https://github.com/bvaughn) in [#13760](https://www.dependencies.io/github-redirect/facebook/react/pull/13760)) * `React.StrictMode` now warns about `findDOMNode`. ([sebmarkbage](https://github.com/sebmarkbage) in [#13841](https://www.dependencies.io/github-redirect/facebook/react/pull/13841)) * Rename `unstable_AsyncMode` to `unstable_ConcurrentMode`. ([trueadm](https://github.com/trueadm) in [#13732](https://www.dependencies.io/github-redirect/facebook/react/pull/13732)) * Rename `unstable_Placeholder` to `Suspense`, and `delayMs` to `maxDuration`. ([gaearon](https://github.com/gaearon) in [#13799](https://www.dependencies.io/github-redirect/facebook/react/pull/13799) and [sebmarkbage](https://github.com/sebmarkbage) in [#13922](https://www.dependencies.io/github-redirect/facebook/react/pull/13922)) ### React DOM * Add `contextType` as a more ergonomic way to subscribe to context from a class. ([bvaughn](https://github.com/bvaughn) in [#13728](https://www.dependencies.io/github-redirect/facebook/react/pull/13728)) * Add `getDerivedStateFromError` lifecycle method for catching errors in a future asynchronous server-side renderer. ([bvaughn](https://github.com/bvaughn) in [#13746](https://www.dependencies.io/github-redirect/facebook/react/pull/13746)) * Warn when `16.5.2
### React DOM * Fixed a recent `16.5.1
## 16.5.1 (September 13, 2018) ### React * Improve the warning when `React.forwardRef` receives an unexpected number of arguments. ([andresroberto](https://github.com/andresroberto) in [#13636](https://www.dependencies.io/github-redirect/facebook/react/issues/13636)) ### React DOM * Fix a regression in unstable exports used by React Native Web. ([aweary](https://github.com/aweary) in [#13598](https://www.dependencies.io/github-redirect/facebook/react/issues/13598)) * Fix a crash when component defines a method called `isReactComponent`. ([gaearon](https://github.com/gaearon) in [#13608](https://www.dependencies.io/github-redirect/facebook/react/issues/13608)) * Fix a crash in development mode in IE9 when printing a warning. ([link-alex](https://github.com/link-alex) in [#13620](https://www.dependencies.io/github-redirect/facebook/react/issues/13620)) * Provide a better error message when running `react-dom/profiling` with `schedule/tracking`. ([bvaughn](https://github.com/bvaughn) in [#13605](https://www.dependencies.io/github-redirect/facebook/react/issues/13605)) * If a `ForwardRef` component defines a `displayName`, use it in warnings. ([probablyup](https://github.com/probablyup) in [#13615](https://www.dependencies.io/github-redirect/facebook/react/issues/13615)) ### Schedule (Experimental) * Add a separate profiling entry point at `schedule/tracking-profiling`. ([bvaughn](https://github.com/bvaughn) in [#13605](https://www.dependencies.io/github-redirect/facebook/react/issues/13605))16.5.0
### React * Add a warning if `React.forwardRef` render function doesn't take exactly two arguments ([bvaughn](https://github.com/bvaughn) in [#13168](https://www.dependencies.io/github-redirect/facebook/react/issues/13168)) * Improve the error message when passing an element to `createElement` by mistake ([DCtheTall](https://github.com/DCtheTall) in [#13131](https://www.dependencies.io/github-redirect/facebook/react/issues/13131)) * Don't call profiler `onRender` until after mutations ([bvaughn](https://github.com/bvaughn) in [#13572](https://www.dependencies.io/github-redirect/facebook/react/issues/13572)) ### React DOM * Add support for React DevTools Profiler ([bvaughn](https://github.com/bvaughn) in [#13058](https://www.dependencies.io/github-redirect/facebook/react/issues/13058)) * Add `react-dom/profiling` entry point alias for profiling in production ([bvaughn](https://github.com/bvaughn) in [#13570](https://www.dependencies.io/github-redirect/facebook/react/issues/13570)) * Add `onAuxClick` event for browsers that support it ([jquense](https://github.com/jquense) in [#11571](https://www.dependencies.io/github-redirect/facebook/react/issues/11571)) * Add `movementX` and `movementY` fields to mouse events ([jasonwilliams](https://github.com/jasonwilliams) in [#9018](https://www.dependencies.io/github-redirect/facebook/react/issues/9018)) * Add `tangentialPressure` and `twist` fields to pointer events ([motiz88](https://github.com/motiz88) in [#13374](https://www.dependencies.io/github-redirect/facebook/react/issues/13374)) * Minimally support iframes (nested browsing contexts) in selection event handling ([acusti](https://github.com/acusti) in [#12037](https://www.dependencies.io/github-redirect/facebook/react/issues/12037)) * Support passing booleans to the `focusable` SVG attribute ([gaearon](https://github.com/gaearon) in [#13339](https://www.dependencies.io/github-redirect/facebook/react/issues/13339)) * Ignore `16.4.2
### React DOM Server * Fix a [potential XSS vulnerability when the attacker controls an attribute name](https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html) (`CVE-2018-6341`). This fix is available in the latest `react-dom@16.4.2`, as well as in previous affected minor versions: `react-dom@16.0.1`, `react-dom@16.1.2`, `react-dom@16.2.1`, and `react-dom@16.3.3`. ([gaearon](https://github.com/gaearon) in [#13302](https://www.dependencies.io/github-redirect/facebook/react/pull/13302)) * Fix a crash in the server renderer when an attribute is called `hasOwnProperty`. This fix is only available in `react-dom@16.4.2`. ([gaearon](https://github.com/gaearon) in [#13303](https://www.dependencies.io/github-redirect/facebook/react/pull/13303))16.4.1
### React * You can now assign `propTypes` to components returned by `React.ForwardRef`. ([bvaughn](https://github.com/bvaughn) in [#12911](https://www.dependencies.io/github-redirect/facebook/react/pull/12911)) ### React DOM * Fix a crash when the input `type` changes from some other types to `text`. ([spirosikmd](https://github.com/spirosikmd) in [#12135](https://www.dependencies.io/github-redirect/facebook/react/pull/12135)) * Fix a crash in IE11 when restoring focus to an SVG element. ([ThaddeusJiang](https://github.com/ThaddeusJiang) in [#12996](https://www.dependencies.io/github-redirect/facebook/react/pull/12996)) * Fix a range input not updating in some cases. ([Illu](https://github.com/Illu) in [#12939](https://www.dependencies.io/github-redirect/facebook/react/pull/12939)) * Fix input validation triggering unnecessarily in Firefox. ([nhunzaker](https://github.com/nhunzaker) in [#12925](https://www.dependencies.io/github-redirect/facebook/react/pull/12925)) * Fix an incorrect `event.target` value for the `onChange` event in IE9. ([nhunzaker](https://github.com/nhunzaker) in [#12976](https://www.dependencies.io/github-redirect/facebook/react/pull/12976)) * Fix a false positive error when returning an empty `