cropping
cropping copied to clipboard
Update react requirement from 16.0.0 to 16.8.2
Updates the requirements on react to permit the latest version.
Release notes
Sourced from react's releases.
v16.8.2
16.8.2 (February 14, 2019)
React DOM
- Fix
ReactDOM.render
being ignored insideuseEffect
. (@gaearon in #14799)- Fix a crash when unmounting empty portals. (@gaearon in #14820)
- Fix
useImperativeHandle
to work correctly when no deps are specified. (@gaearon in #14801)- Fix
crossOrigin
attribute to work in SVGimage
elements. (@aweary in #14832)- Fix a false positive warning when using Suspense with Hooks. (@gaearon in #14821)
React Test Utils and React Test Renderer
- Include component stack into the
act()
warning. (@threepointone in #14855)
Changelog
Sourced from react's changelog.
16.8.2 (February 14, 2019)
React DOM
- Fix
ReactDOM.render
being ignored insideuseEffect
. (@gaearon in #14799)- Fix a crash when unmounting empty portals. (@gaearon in #14820)
- Fix
useImperativeHandle
to work correctly when no deps are specified. (@gaearon in #14801)- Fix
crossOrigin
attribute to work in SVGimage
elements. (@aweary in #14832)- Fix a false positive warning when using Suspense with Hooks. (@gaearon in #14821)
React Test Utils and React Test Renderer
- Include component stack into the
act()
warning. (@threepointone in #14855)16.8.1 (February 6, 2019)
React DOM and React Test Renderer
React Test Utils
- Fix a crash in Node environment. (@threepointone in #14768)
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
useReducer
Hook lazy initialization API. (@acdlite in #14723)React DOM
- Bail out of rendering on identical values for
useState
anduseReducer
Hooks. (@acdlite in #14569)- Use
Object.is
algorithm for comparinguseState
anduseReducer
values. (@Jessidhia in #14752)- Don’t compare the first argument passed to
useEffect
/useMemo
/useCallback
Hooks. (@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
undefined
or a function. All other values, includingnull
, are not allowed. @acdlite in #14119React Test Renderer and Test Utils
- Support Hooks in the shallow renderer. (@trueadm in #14567)
- Fix wrong state in
shouldComponentUpdate
in the presence ofgetDerivedStateFromProps
for Shallow Renderer. (@chenesan in #14613)- Add
ReactTestRenderer.act()
andReactTestUtils.act()
for batching updates so that tests more closely match real behavior. (@threepointone in #14744)ESLint Plugin: React Hooks
... (truncated)
Commits
- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot ignore this [patch|minor|major] version
will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language -
@dependabot badge me
will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.