-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update react monorepo to v17 (major) #106
base: master
Are you sure you want to change the base?
Conversation
Best reviewed: commit by commit
Optimal code review plan
|
Pull request analysis by VIZIPI Below you will find who is the most qualified team member to review your code. Reviewers with knowledge related to these changes
Potential missing files from this Pull requestNo commonly committed files found with a 40% threashold Committed file ranks(click to expand)85.71% [package.json] |
4645f1d
to
af7e07a
Compare
Congratulations 🎉. DeepCode analyzed your code in 0.822 seconds and we found no issues. Enjoy a moment of no bugs ☀️. 👉 View analysis in DeepCode’s Dashboard | Configure the bot |
af7e07a
to
49c7195
Compare
49c7195
to
5232dcf
Compare
5232dcf
to
523c81a
Compare
This PR contains the following updates:
15.6.2
->17.0.2
15.6.2
->17.0.2
Release Notes
facebook/react
v17.0.2
Compare Source
React DOM
SharedArrayBuffer
cross-origin isolation warning. (@koba04 and @bvaughn in #20831, #20832, and #20840)v17.0.1
Compare Source
React DOM
v17.0.0
Compare Source
Today, we are releasing React 17!
Learn more about React 17 and how to update to it on the official React blog.
React
react/jsx-runtime
andreact/jsx-dev-runtime
for the new JSX transform. (@lunaruan in #18299)displayName
on context for improved stacks. (@eps1lon in #18224)'use strict'
from leaking in the UMD bundles. (@koba04 in #19614)fb.me
for redirects. (@cylim in #19598)React DOM
document
. (@trueadm in #18195 and others)useEffect
cleanup functions asynchronously. (@bvaughn in #17925)focusin
andfocusout
foronFocus
andonBlur
. (@trueadm in #19186)Capture
events use the browser capture phase. (@trueadm in #19221)onScroll
event. (@gaearon in #19464)forwardRef
ormemo
component returnsundefined
. (@gaearon in #19550)console
in the second render pass of DEV mode double render. (@sebmarkbage in #18547)ReactTestUtils.SimulateNative
API. (@gaearon in #13407)ReactDOM.flushSync
during lifecycle methods (but warn). (@sebmarkbage in #18759)code
property to the keyboard event objects. (@bl00mber in #18287)disableRemotePlayback
property forvideo
elements. (@tombrowndev in #18619)enterKeyHint
property forinput
elements. (@eps1lon in #18634)value
is provided to<Context.Provider>
. (@charlie1404 in #19054)memo
orforwardRef
components returnundefined
. (@bvaughn in #19550)onTouchStart
,onTouchMove
, andonWheel
passive. (@gaearon in #19654)setState
hanging in development inside a closed iframe. (@gaearon in #19220)defaultProps
. (@jddxf in #18539)dangerouslySetInnerHTML
isundefined
. (@eps1lon in #18676)require
implementation. (@just-boris in #18632)onBeforeInput
reporting an incorrectevent.type
. (@eps1lon in #19561)event.relatedTarget
reported asundefined
in Firefox. (@claytercek in #19607)movementX/Y
polyfill with capture events. (@gaearon in #19672)onSubmit
andonReset
events. (@gaearon in #19333)React DOM Server
useCallback
behavior consistent withuseMemo
for the server renderer. (@alexmckenley in #18783)React Test Renderer
findByType
error message. (@henryqdineen in #17439)Concurrent Mode (Experimental)
unstable_
prefix before the experimental APIs. (@acdlite in #18825)unstable_discreteUpdates
andunstable_flushDiscreteUpdates
. (@trueadm in #18825)timeoutMs
argument. (@acdlite in #19703)<div hidden />
prerendering in favor of a different future API. (@acdlite in #18917)unstable_expectedLoadTime
to Suspense for CPU-bound trees. (@acdlite in #19936)unstable_useOpaqueIdentifier
Hook. (@lunaruan in #17322)unstable_startTransition
API. (@rickhanlonii in #19696)act
in the test renderer no longer flushes Suspense fallbacks. (@acdlite in #18596)useMutableSource
that may happen whengetSnapshot
changes. (@bvaughn in #18297)useMutableSource
. (@bvaughn in #18912)v16.14.0
Compare Source
React
v16.13.1
Compare Source
React DOM
componentWillReceiveProps
,shouldComponentUpdate
, and so on). (@gaearon in #18330)v16.13.0
Compare Source
React
React.createFactory()
(@trueadm in #17878)React DOM
style
may cause an unexpected collision (@sophiebits in #14181, #18002)unstable_createPortal
(@trueadm in #17880)onMouseEnter
being fired on disabled buttons (@AlfredoGJ in #17675)shouldComponentUpdate
twice when developing inStrictMode
(@bvaughn in #17942)version
property to ReactDOM (@ealush in #15780)toString()
ofdangerouslySetInnerHTML
(@sebmarkbage in #17773)Concurrent Mode (Experimental)
ReactDOM.createRoot()
(@trueadm in #17937)ReactDOM.createRoot()
callback params and added warnings on usage (@bvaughn in #17916)SuspenseList
CPU bound heuristic (@sebmarkbage in #17455)isPending
only being true when transitioning from inside an input event (@acdlite in #17382)React.memo
components dropping updates when interrupted by a higher priority update (@acdlite in #18091)v16.12.0
Compare Source
React DOM
useEffect
) not being fired in a multi-root app. (@acdlite in #17347)React Is
lazy
andmemo
types considered elements instead of components (@bvaughn in #17278)v16.11.0
Compare Source
React DOM
mouseenter
handlers from firing twice inside nested React containers. @yuanoook in #16928unstable_createRoot
andunstable_createSyncRoot
experimental APIs. (These are available in the Experimental channel ascreateRoot
andcreateSyncRoot
.) (@acdlite in #17088)v16.10.2
Compare Source
React DOM
v16.10.1
Compare Source
React DOM
v16.10.0
Compare Source
React DOM
Object.is
instead of inline polyfill, when available. (@ku8ar in #16212)Scheduler (Experimental)
postMessage
loop with short intervals instead of attempting to align to frame boundaries withrequestAnimationFrame
. (@acdlite in #16214)useSubscription
v16.9.0
Compare Source
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)ESLint Plugin: React Hooks
v16.8.6
Compare Source
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)v16.8.5
Compare Source
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)v16.8.4
Compare Source
React DOM and other renderers
useContext
hook. (@bvaughn in #14940)v16.8.3
Compare Source
React DOM
React DOM Server
ESLint Plugin for React Hooks
exhaustive-deps
rule. (@gaearon in #14636)v16.8.2
Compare Source
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)v16.8.1
Compare Source
React DOM and React Test Renderer
React Test Utils
v16.8.0
Compare Source
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
v16.7.0
Compare Source
React DOM
React.lazy
for large numbers of lazily-loaded components. (@acdlite in #14429)react-dom/server@16.6
andreact@<16.6
. (@gaearon in #14291)Scheduler (Experimental)
setTimeout
in testing environments. (@bvaughn in #14358)v16.6.3
React DOM
Suspense
andlazy
. (@acdlite in #14133, #14157, and #14164)React.memo
updates in React DevTools. (@bvaughn in #14141)React DOM Server
renderToNodeStream()
calls. (@sebmarkbage in #14182)v16.6.2
This release was published in a broken state and should be skipped.
v16.6.1
Compare Source
React DOM
Scheduler (Experimental)
shouldYield
API. (@acdlite in #14025)v16.6.0
Compare Source
React
React.memo()
as an alternative toPureComponent
for functions. (@acdlite in #13748)React.lazy()
for code splitting components. (@acdlite in #13885)React.StrictMode
now warns about legacy context API. (@bvaughn in #13760)React.StrictMode
now warns aboutfindDOMNode
. (@sebmarkbage in #13841)unstable_AsyncMode
tounstable_ConcurrentMode
. (@trueadm in #13732)unstable_Placeholder
toSuspense
, anddelayMs
tomaxDuration
. (@gaearon in #13799 and @sebmarkbage in #13922)React DOM
contextType
as a more ergonomic way to subscribe to context from a class. (@bvaughn in #13728)getDerivedStateFromError
lifecycle method for catching errors in a future asynchronous server-side renderer. (@bvaughn in #13746)<Context>
is used instead of<Context.Consumer>
. (@trueadm in #13829)window.event
in development. (@sergei-startsev in #13697)React DOM Server
React.memo()
. (@alexmckenley in #13855)contextType
. (@alexmckenley and @sebmarkbage in #13889)Scheduler (Experimental)
scheduler
. (@gaearon in #13683)requestAnimationFrame
earlier. (@acdlite in #13785)envify
transform to the package. (@mridgway in #13766)v16.5.2
Compare Source
React DOM
<iframe>
regression (@JSteunou in #13650)updateWrapper
so that<textarea>
s no longer re-render when data is unchanged (@joelbarbosa in #13643)Schedule (Experimental)
schedule
to remove some React-isms and improve performance for when deferred updates time out (@acdlite in #13582)v16.5.1
Compare Source
React
React.forwardRef
receives an unexpected number of arguments. (@andresroberto in #13636)React DOM
isReactComponent
. (@gaearon in #13608)react-dom/profiling
withschedule/tracking
. (@bvaughn in #13605)ForwardRef
component defines adisplayName
, use it in warnings. (@probablyup in #13615)Schedule (Experimental)
schedule/tracking-profiling
. (@bvaughn in #13605)v16.5.0
Compare Source
React
React.forwardRef
render function doesn't take exactly two arguments (@bvaughn in #13168)createElement
by mistake (@DCtheTall in #13131)onRender
until after mutations (@bvaughn in #13572)React DOM
react-dom/profiling
entry point alias for profiling in production (@bvaughn in #13570)onAuxClick
event for browsers that support it (@jquense in #11571)movementX
andmovementY
fields to mouse events (@jasonwilliams in #9018)tangentialPressure
andtwist
fields to pointer events (@motiz88 in #13374)focusable
SVG attribute (@gaearon in #13339)<noscript>
on the client when hydrating (@Ephem in #13537)gridArea
to be treated as a unitless CSS property (@mgol in #13550)compositionend
event when typing Korean on IE11 (@crux153 in #12563)children
in the<option>
tag (@Slowyn in #13261, @gaearon in #13465)checked
attribute not getting initially set on theinput
(@dilidili in #13114)dangerouslySetInnerHTML
when__html
is not a string (@gaearon in #13353)onChange
to fire on falsy values too (@nicolevy in #12628)submit
andreset
buttons getting an empty label (@ellsclytn in #12780)onSelect
event not being triggered after drag and drop (@gaearon in #13422)onClick
event not working inside a portal on iOS (@aweary in #11927)onChange
to not fire in some cases (@gaearon in #13423)"false"
or"true"
is the value of a boolean DOM prop (@motiz88 in #13372)this.state
is initialized toprops
(@veekas in #11658)style
on hydration in IE due to noisy false positives (@mgol in #13534)StrictMode
in the component stack (@gaearon in #13240)window.event
in IE (@ConradIrwin in #11696)folder/index.js
naming convention (@gaearon in #12059)getDerivedStateFromProps
without initialized state (@flxwu in #13317)<webview>
tag without warnings (@philipp-spiess in #13301)e.preventDefault()
was called (@gaearon in #13384)unstable_deferredUpdates
in favor ofunstable_scheduleWork
fromschedule
(@gaearon in #13488)React DOM Server
dangerouslySetInnerHtml
in a selected<option>
(@mridgway in #13078)setTimeout
is missing (@dustinsoftware in #13088)React Test Renderer and Test Utils
this
in a functional component for shallow renderer to beundefined
(@koba04 in #13144)ReactTestUtils.mockComponent()
helper (@bvaughn in #13193)ReactDOM.createPortal
usage within the test renderer (@bvaughn in [#̴Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by WhiteSource Renovate. View repository job log here.