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.renderbeing ignored insideuseEffect. (@gaearon in #14799)- Fix a crash when unmounting empty portals. (@gaearon in #14820)
- Fix
useImperativeHandleto work correctly when no deps are specified. (@gaearon in #14801)- Fix
crossOriginattribute to work in SVGimageelements. (@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.renderbeing ignored insideuseEffect. (@gaearon in #14799)- Fix a crash when unmounting empty portals. (@gaearon in #14820)
- Fix
useImperativeHandleto work correctly when no deps are specified. (@gaearon in #14801)- Fix
crossOriginattribute to work in SVGimageelements. (@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
useReducerHook lazy initialization API. (@acdlite in #14723)React DOM
- Bail out of rendering on identical values for
useStateanduseReducerHooks. (@acdlite in #14569)- Use
Object.isalgorithm for comparinguseStateanduseReducervalues. (@Jessidhia in #14752)- Don’t compare the first argument passed to
useEffect/useMemo/useCallbackHooks. (@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
undefinedor 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
shouldComponentUpdatein the presence ofgetDerivedStateFromPropsfor 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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot ignore this [patch|minor|major] versionwill 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 dependencywill 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 labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language -
@dependabot badge mewill 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.