-
Notifications
You must be signed in to change notification settings - Fork 25
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) #728
Conversation
renovate[bot] is not a collaborator of the repo |
Enzyme doesn't officially support React 17 yet but there is a community adaptor available which I swapped in; enzymejs/enzyme#2429 (comment) |
@hatched We've now hit this issue: facebook/create-react-app#9896 Can those mocks be refactored? |
We mocked out I can't remember why we mocked the |
68dec08
to
a323a3b
Compare
a323a3b
to
d7ff6b2
Compare
npx react-codemod update-react-imports
@hatched I ran the codemod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a small deps request.
This PR contains the following updates:
16.14.0
->17.0.1
16.14.0
->17.0.1
16.14.0
->17.0.1
Release Notes
facebook/react
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)Renovate configuration
📅 Schedule: "before 3am on Monday" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 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.