Bump react and @types/react - #44
Conversation
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.18 to 19.0.8 - [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] <support@github.com>
Reviewer's Guide by SourceryThis pull request bumps the versions of react and @types/react. It updates react from v18.3.1 to v19.0.0 and @types/react from v18.3.18 to v19.0.8. The changes are reflected in the pnpm-lock.yaml file and package.json files. Sequence diagram for new React 19 Action and Transition flowsequenceDiagram
participant C as Component
participant R as React
participant S as Server/API
C->>R: startTransition(async () => {...})
activate R
R->>S: fetch() or other side effects
S-->>R: Response
R->>C: Update UI (one commit)
deactivate R
Note over C,R: Optimistic Updates
C->>R: useOptimistic(state, setOptimistic)
activate R
R->>C: Immediate optimistic state update
R->>S: Actual state update operation
S-->>R: Confirmation
R->>C: Final state update
deactivate R
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
CI Feedback 🧐(Feedback updated until commit 0c444b7)A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
|
|
Dependabot couldn't find a package.json. Because of this, Dependabot cannot update this pull request. |
Bumps react and @types/react. These dependencies needed to be updated together.
Updates
reactfrom 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)3dc1e48Followup: remove dead test code from #30346 (#31415)07aa494Remove enableRefAsProp feature flag (#30346)45804af[flow] Eliminate usage of more than 1-argReact.AbstractComponentin 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)15da917Don't read currentTransition back from internals (#30991)Updates
@types/reactfrom 18.3.18 to 19.0.8Commits
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 and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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 v19.0.0 and @types/react to v19.0.8.
New Features:
Tests: