feat: upgrade to react 19 by paanSinghCoder · Pull Request #1474 · raystack/frontier

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 3e827ff9-bcaa-44ba-815f-d9453c3392aa

📥 Commits

Reviewing files that changed from the base of the PR and between edd07e9 and 893e1fc.

⛔ Files ignored due to path filters (1)
  • web/pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (1)
  • web/sdk/package.json

📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Upgraded React runtime and corresponding type packages to the latest major release.
    • Updated UI library and tooling dependencies to newer compatible versions.
    • Broadened peer support to allow either current or previous React major versions for compatibility.
    • Improved module resolution to favor a single shared React runtime for more stable dev/build behavior.

Walkthrough

Bumps React and related typings to v19 in admin and SDK package manifests, updates several dependencies (Radix, TanStack Router), adds Vite resolve.dedupe for react/react-dom, and corrects a ReactNode import source in the SDK onboarding component. (45 words)

Changes

Cohort / File(s) Summary
Admin app manifests & config
web/apps/admin/package.json, web/apps/admin/vite.config.ts
Upgraded react/react-dom and @types/* to ^19.0.0, bumped @radix-ui/react-form to ^0.1.8; added Vite resolve.dedupe for react and react-dom.
SDK package manifest
web/sdk/package.json
Updated devDeps/types to React v19, bumped @radix-ui/react-form, upgraded @tanstack/react-router to ^1.168.3, and expanded peerDependencies for react/react-dom to allow `^18.2.0
SDK React component
web/sdk/react/components/onboarding/updates.tsx
Changed ReactNode import source from @tanstack/react-router to react.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • rohanchkrabrty

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.