Skip to content

⬆️(deps) align react-aria and drop the @adobe/react-spectrum chain#400

Open
sylvinus wants to merge 1 commit into
mainfrom
sylvinus/deps-upgrades
Open

⬆️(deps) align react-aria and drop the @adobe/react-spectrum chain#400
sylvinus wants to merge 1 commit into
mainfrom
sylvinus/deps-upgrades

Conversation

@sylvinus

@sylvinus sylvinus commented Jul 8, 2026

Copy link
Copy Markdown
Member

Problem

packages/react exact-pins the react-aria ecosystem at stale versions.
Two consequences in consuming apps:

  1. Version fragmentation — cunningham pins react-stately@3.45.0,
    ui-kit pins 3.37.0, apps pull others; npm/yarn can't hoist one copy
    and nest dozens (the @react-aria/* tree alone duplicated to ~1.9 GB).
  2. Unused Adobe React Spectrum pulled in@react-aria/calendar@3.9.5
    / @react-aria/datepicker@3.16.1 (and their @react-stately/* siblings)
    still depend on the mispackaged @react-types/button@3.16.0, which
    depends on @react-spectrum/button@adobe/react-spectrum (the full
    component suite). Nothing uses Spectrum; it's pure transitive bloat.

Measured in a consuming app: node_modules 3.2 GB → 0.65 GB, with
@adobe/react-spectrum, @react-spectrum/*, @spectrum-icons/* fully
removed
.

Change

Align every react-aria package to a single consistent release. The key
constraint: react-aria's meta packages exact-pin react-stately
internally, and react-aria@3.50.0 + react-aria-components@1.19.0 are
the latest pair that agree on react-stately@3.48.0.

package before after
react-aria 3.47.0 3.50.0
react-aria-components 1.16.0 1.19.0
react-stately 3.45.0 3.48.0
@internationalized/date 3.12.0 3.12.2
@react-aria/calendar 3.9.5 3.10.1 ← drops @adobe
@react-aria/datepicker 3.16.1 3.17.1 ← drops @adobe
@react-stately/calendar 3.9.3 3.10.1 ← drops @adobe
@react-stately/datepicker 3.16.1 3.17.1 ← drops @adobe
@react-aria/i18n 3.12.16 3.13.1

The calendar/datepicker bumps are what sever the @react-types/*@adobe
edge. No source or API changes.

Lockfile

yarn.lock regenerated: @adobe/react-spectrum, @react-spectrum/*,
@spectrum-icons/* are gone; single react-stately@3.48.0. yarn build +
yarn test green.

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.

1 participant