Skip to content

Conversation

@alainncls
Copy link
Collaborator

@alainncls alainncls commented Dec 5, 2025

Note

Upgrades linea-ens-app to React 19 (and compatible ecosystem), migrates styled-components to v6, and applies minimal type/ref/style adjustments for compatibility.

  • Dependencies/Tooling:
    • Upgrade to [email protected] and [email protected] with workspace overrides.
    • Align ecosystem libs for React 19: [email protected], @types/react@19, @types/react-dom@19, styled-components@6, @ensdomains/thorin, rainbowkit, wagmi, @sentry/nextjs, testing libs, etc. (lockfile updates).
    • Remove .yalc workspace entry; consolidate overrides in pnpm-workspace.yaml and root pnpm-lock.yaml.
  • Styling/Migration to styled-components v6:
    • Replace function-style polymorphic styles with typed css<...> helpers and explicit generic props (e.g., CacheableComponent, pricing grid styles).
    • Update styled component declarations to new API and prop typing (e.g., CacheableComponentProps, GridAreaProps).
  • Type/Ref fixes for React 19:
    • Add import type { JSX } from 'react' where needed; tighten RefObject types to include null and cast refs where required.
    • Clarify timer/ref types (e.g., NodeJS.Timeout | undefined).
  • Minor UI/logic adjustments:
    • Use translated label for sort (label={t('action.sort')}) and small prop tweaks (e.g., popover anchorRef cast).
    • No behavior changes beyond compatibility adaptations.

Written by Cursor Bugbot for commit 2de1639. This will update automatically on new commits. Configure here.

@alainncls alainncls requested a review from VGau December 5, 2025 15:42
@alainncls alainncls self-assigned this Dec 5, 2025
@alainncls alainncls requested a review from a team as a code owner December 5, 2025 15:42
@alainncls alainncls force-pushed the chore/upgrade-react branch from 88f5cbf to 5fc15ca Compare December 5, 2025 15:46
@socket-security
Copy link

socket-security bot commented Dec 5, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​types/​react-dom@​18.3.0 ⏵ 19.0.110010072 -394 +1100
Updated@​types/​react@​18.2.21 ⏵ 19.0.1100 +110080 +195100
Updatedreact-use@​17.5.0 ⏵ 17.6.097 +110010081100
Updatedreact@​18.3.1 ⏵ 19.0.1100 +11008498 +1100
Updatedstyled-components@​5.3.11 ⏵ 6.1.199410010087100
Updated@​next/​bundle-analyzer@​13.5.6 ⏵ 15.5.6100 +110089 +199 +1100
Updatedreact-dom@​18.3.1 ⏵ 19.0.1100 +1100100 +9100 +3100

View full report

@alainncls alainncls force-pushed the chore/upgrade-react branch from 5fc15ca to 2de1639 Compare December 5, 2025 15:53
@alainncls alainncls merged commit e170722 into main Dec 5, 2025
7 checks passed
@alainncls alainncls deleted the chore/upgrade-react branch December 5, 2025 17:20
alainncls added a commit that referenced this pull request Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants