-
Notifications
You must be signed in to change notification settings - Fork 3
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
Bump react and @types/react #446
Open
dependabot
wants to merge
1
commit into
main
Choose a base branch
from
dependabot/npm_and_yarn/multi-ff629d46e7
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependabot
bot
added
_bot
[BOT only] Issue or PR made by a bot.
dependencies
Dependency updates and their version upgrades.
labels
Jan 20, 2025
Reviewer's Guide by SourceryThis pull request updates the react and @types/react dependencies to their latest versions. This includes updating react from 18.3.1 to 19.0.0 and @types/react from 18.3.12 to 19.0.7. Class diagram showing React 19 API changesclassDiagram
class React {
+startTransition(asyncFn)
+use(promise)
+useActionState()
+useOptimistic()
+useFormStatus()
+preinit()
+preload()
+prefetchDNS()
+preconnect()
-propTypes [removed]
-defaultProps [removed for functions]
}
class Element {
+props.ref
-ref [deprecated]
}
class Form {
+action
+formAction
+requestFormReset()
}
class ReactDOM {
+prerender()
+prerenderToNodeStream()
}
React -- Element
React -- Form
React -- ReactDOM
note for React "Major version 19.0.0 changes"
note for Element "ref is now a prop"
note for Form "New form action support"
State diagram for React 19 Action and Transition flowstateDiagram-v2
[*] --> Initial
Initial --> Transition: startTransition(asyncFn)
Transition --> PendingState: Action starts
PendingState --> OptimisticUI: useOptimistic
PendingState --> Loading: Async operation
Loading --> Complete: Action completes
Complete --> FinalState: UI updates
OptimisticUI --> FinalState: Action completes
FinalState --> [*]
note right of PendingState: Can include side effects
note right of OptimisticUI: Immediate UI update
note right of Loading: Async operations (e.g. fetch)
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
❌ Deploy Preview for neurobagel-query failed.
|
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). These dependencies needed to be updated together. Updates `react` from 18.3.1 to 19.0.0 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.0.0/packages/react) Updates `@types/react` from 18.3.12 to 19.0.7 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: react dependency-type: direct:production update-type: version-update:semver-major - dependency-name: "@types/react" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
dependabot
bot
force-pushed
the
dependabot/npm_and_yarn/multi-ff629d46e7
branch
from
January 20, 2025 17:36
c685448
to
1e8a9cb
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
_bot
[BOT only] Issue or PR made by a bot.
dependencies
Dependency updates and their version upgrades.
0 participants
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.
Bumps react and @types/react. These dependencies needed to be updated together.
Updates
react
from 18.3.1 to 19.0.0Release notes
Sourced from react's releases.
... (truncated)
Changelog
Sourced from react's changelog.
... (truncated)
Commits
e137890
[string-refs] cleanup string ref code (#31443)d1f0472
[string-refs] remove enableLogStringRefsProd flag (#31414)3dc1e48
Followup: remove dead test code from #30346 (#31415)07aa494
Remove enableRefAsProp feature flag (#30346)45804af
[flow] Eliminate usage of more than 1-argReact.AbstractComponent
in React ...5636fad
[string-refs] log string ref from prod (#31161)b78a7f2
[rcr] Re-export useMemoCache in top level React namespace (#31139)4e9540e
[Fiber] Log the Render/Commit phases and the gaps in between (#31016)d4688df
[Fiber] Track Event Time, startTransition Time and setState Time (#31008)15da917
Don't read currentTransition back from internals (#30991)Updates
@types/react
from 18.3.12 to 19.0.7Commits
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 and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor 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)Summary by Sourcery
Upgrade React to version 19.0.0 and update corresponding type definitions.
New Features: