This repository has been archived by the owner on Apr 21, 2020. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade
react
from 16.4.2 to 16.9.0.Release notes
React
<React.Profiler>
API for gathering performance measurements programmatically. (@bvaughn in #15172)unstable_ConcurrentMode
in favor ofunstable_createRoot
. (@acdlite in #15532)React DOM
UNSAFE_*
lifecycle methods. (@bvaughn in #15186 and @threepointone in #16103)javascript:
URLs as a common attack surface. (@sebmarkbage in #15047)disablePictureInPicture
attribute on<video>
. (@eek in #15334)onLoad
event for<embed>
. (@cherniavskii in #15614)useState
state from DevTools. (@bvaughn in #14906)setState
is called fromuseEffect
, creating a loop. (@gaearon in #15180)findDOMNode
for components wrapped in<Suspense>
. (@acdlite in #15312)!important
style. (@acdlite in #15861 and #15882)React DOM Server
React Test Utilities and Test Renderer
act(async () => ...)
for testing asynchronous state updates. (@threepointone in #14853)act
from different renderers. (@threepointone in #16039 and #16042)act()
call. (@threepointone in #15763 and #16041)act
from the wrong renderer. (@threepointone in #15756)Artifacts
• react: https://unpkg.com/react@16.9.0/umd/
• react-art: https://unpkg.com/react-art@16.9.0/umd/
• react-dom: https://unpkg.com/react-dom@16.9.0/umd/
• react-is: https://unpkg.com/react-is@16.9.0/umd/
• react-test-renderer: https://unpkg.com/react-test-renderer@16.9.0/umd/
• scheduler: https://unpkg.com/scheduler@0.15.0/umd/
This is a release candidate for React v16.9.0.
Changelog is available in #16254.
UMD builds
• react: https://unpkg.com/react@16.9.0-rc.0/umd/
• react-art: https://unpkg.com/react-art@16.9.0-rc.0/umd/
• react-dom: https://unpkg.com/react-dom@16.9.0-rc.0/umd/
• react-is: https://unpkg.com/react-is@16.9.0-rc.0/umd/
• react-test-renderer: https://unpkg.com/react-test-renderer@16.9.0-rc.0/umd/
• scheduler: https://unpkg.com/scheduler@0.15.0-rc.0/umd/
v16.9.0-alpha.0 (April 3, 2019)
await act(async () => ...)
(@threepointone in #14853)Artifacts
16.8.6 (March 27, 2019)
React DOM
useReducer()
. (@acdlite in #15124)contextType
is set toContext.Consumer
instead ofContext
. (@aweary in #14831)contextType
is set to invalid values. (@gaearon in #15142)Artifacts
16.8.5 (March 22, 2019)
React DOM
size
attribute. (@kulek1 in #14242)useEffect(async () => ...)
warning message. (@gaearon in #15118)React DOM Server
useLayoutEffect
warning message when server rendering. (@gaearon in #15158)React Shallow Renderer
setState
in shallow renderer to work with Hooks. (@gaearon in #15120)React.memo
. (@aweary in #14816)forwardRef
. (@eps1lon in #15100)Artifacts
16.8.4 (March 5, 2019)
React DOM and other renderers
useContext
hook. (@bvaughn in #14940)16.8.3 (February 21, 2019)
React DOM
React DOM Server
ESLint Plugin for React Hooks
exhaustive-deps
rule. (@gaearon in #14636)Artifacts
16.8.2 (February 14, 2019)
React DOM
ReactDOM.render
being ignored insideuseEffect
. (@gaearon in #14799)useImperativeHandle
to work correctly when no deps are specified. (@gaearon in #14801)crossOrigin
attribute to work in SVGimage
elements. (@aweary in #14832)React Test Utils and React Test Renderer
act()
warning. (@threepointone in #14855)Artifacts
16.8.1 (February 6, 2019)
React DOM and React Test Renderer
React Test Utils
Artifacts
React
useReducer
Hook lazy initialization API. (@acdlite in #14723)React DOM
useState
anduseReducer
Hooks. (@acdlite in #14569)Object.is
algorithm for comparinguseState
anduseReducer
values. (@Jessidhia in #14752)useEffect
/useMemo
/useCallback
Hooks. (@acdlite in #14594)React.lazy()
. (@gaearon in #14626)undefined
or a function. All other values, includingnull
, are not allowed. @acdlite in #14119React Test Renderer and Test Utils
shouldComponentUpdate
in the presence ofgetDerivedStateFromProps
for Shallow Renderer. (@chenesan in #14613)ReactTestRenderer.act()
andReactTestUtils.act()
for batching updates so that tests more closely match real behavior. (@threepointone in #14744)ESLint Plugin: React Hooks
Artifacts
from
react
GitHub Release Notes🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs