dash-lazy-load icon indicating copy to clipboard operation
dash-lazy-load copied to clipboard

Update react monorepo to v16 (major)

Open renovate[bot] opened this issue 6 years ago • 0 comments

This PR contains the following updates:

Package Type Update Change References
react devDependencies major 15.6.2 -> 16.8.3 homepage, source
react-dom devDependencies major 15.6.2 -> 16.8.3 homepage, source
react-test-renderer devDependencies major 15.6.2 -> 16.8.3 homepage, source

Release Notes

facebook/react

v16.8.3

Compare Source

React DOM
React DOM Server
  • Unwind the context stack when a stream is destroyed without completing, to prevent incorrect values during a subsequent render. (@​overlookmotel in #​14706)

v16.8.2

Compare Source

React DOM
React Test Utils and React Test Renderer

v16.8.1

Compare Source

React DOM and React Test Renderer
React Test Utils

v16.8.0

Compare Source

React
React DOM
React Test Renderer and Test Utils
  • Support Hooks in the shallow renderer. (@​trueadm in #​14567)
  • Fix wrong state in shouldComponentUpdate in the presence of getDerivedStateFromProps for Shallow Renderer. (@​chenesan in #​14613)
  • Add ReactTestRenderer.act() and ReactTestUtils.act() for batching updates so that tests more closely match real behavior. (@​threepointone in #​14744)
ESLint Plugin: React Hooks

v16.7.0

Compare Source

React DOM
Scheduler (Experimental)

v16.6.3

Compare Source

React DOM
React DOM Server

v16.6.1

Compare Source

React DOM
Scheduler (Experimental)

v16.6.0

Compare Source

React
React DOM
React DOM Server
Scheduler (Experimental)

v16.5.2

Compare Source

React DOM
Schedule (Experimental)

v16.5.1

Compare Source

React
React DOM
Schedule (Experimental)

v16.5.0

Compare Source

React
React DOM
React DOM Server
React Test Renderer and Test Utils
React ART
Schedule (Experimental)
  • New package for cooperatively scheduling work in a browser environment. It's used by React internally, but its public API is not finalized yet. (@​flarnie in #​12624)

v16.4.2

Compare Source

React DOM Server

v16.4.1

Compare Source

React
  • You can now assign propTypes to components returned by React.ForwardRef. (@​bvaughn in #​12911)
React DOM
React DOM Server
React Test Renderer
  • Allow multiple root children in test renderer traversal API. (@​gaearon in #​13017)
  • Fix getDerivedStateFromProps() in the shallow renderer to not discard the pending state. (@​fatfisz in #​13030)

v16.4.0

Compare Source

React
React DOM
React Test Renderer
  • Fix the getDerivedStateFromProps() support to match the new React DOM behavior. (@​koba04 in #​12676)
  • Fix a testInstance.parent crash when the parent is a fragment or another special node. (@​gaearon in #​12813)
  • forwardRef() components are now discoverable by the test renderer traversal methods. (@​gaearon in #​12725)
  • Shallow renderer now ignores setState() updaters that return null or undefined. (@​koba04 in #​12756)
React ART
React Call Return (Experimental)
  • This experiment was deleted because it was affecting the bundle size and the API wasn't good enough. It's likely to come back in the future in some other form. (@​gaearon in #​12820)
React Reconciler (Experimental)

v16.3.2

Compare Source

React
  • Improve the error message when passing null or undefined to React.cloneElement. (@​nicolevy in #​12534)
React DOM
React Test Renderer

v16.3.1

Compare Source

React
React DOM
Create Subscription

v16.3.0

Compare Source

React
React DOM
React DOM Server

v16.2.0

Compare Source

React
React DOM
React Test Renderer
React Reconciler
  • Expose react-reconciler/reflection with utilities useful to custom renderers. (@​rivenhk in #​11683)
Internal Changes

v16.1.1

Compare Source

React
React DOM
React DOM Server
React Reconciler

v16.1.0

Compare Source

Discontinuing Bower Releases

Starting with 16.1.0, we will no longer be publishing new releases on Bower. You can continue using Bower for old releases, or point your Bower configs to the React UMD builds hosted on unpkg that mirror npm releases and will continue to be updated.

All Packages
React
React DOM
React DOM Server
React Test Renderer and Test Utils
React ART
React Reconciler (Experimental)
React Call Return (Experimental)

v16.0.0

Compare Source

New JS Environment Requirements
New Features
  • Components can now return arrays and strings from render. (Docs coming soon!)
  • Improved error handling with introduction of "error boundaries". Error boundaries are React components that catch JavaScript errors anywhere in their child component tree, log those errors, and display a fallback UI instead of the component tree that crashed.
  • First-class support for declaratively rendering a subtree into another DOM node with ReactDOM.createPortal(). (Docs coming soon!)
  • Streaming mode for server side rendering is enabled with ReactDOMServer.renderToNodeStream() and ReactDOMServer.renderToStaticNodeStream(). (@​aickin in #​10425, #​10044, #​10039, #​10024, #​9264, and others.)
  • React DOM now allows passing non-standard attributes. (@​nhunzaker in #​10385, 10564, #​10495 and others)
Breaking Changes
  • There are several changes to the behavior of scheduling and lifecycle methods:
    • ReactDOM.render() and ReactDOM.unstable_renderIntoContainer() now return null if called from inside a lifecycle method.
    • Minor changes to setState behavior:
      • Calling setState with null no longer triggers an update. This allows you to decide in an updater function if you want to re-render.
      • Calling setState directly in render always causes an update. This was not previously the case. Regardless, you should not be calling setState from render.
      • setState callback (second argument) now fires immediately after componentDidMount / `componentD

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 these updates 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.

renovate[bot] avatar Jan 29 '19 07:01 renovate[bot]