Skip to content

refactor!: remove deprecated targets, native support, and the react-spring umbrella#2526

Merged
joshuaellis merged 4 commits into
nextfrom
copilot/deprecate-react-spring-packages
Jun 11, 2026
Merged

refactor!: remove deprecated targets, native support, and the react-spring umbrella#2526
joshuaellis merged 4 commits into
nextfrom
copilot/deprecate-react-spring-packages

Conversation

Copilot AI commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

v11 trims react-spring to its actively-used surface.

The @react-spring/native, @react-spring/konva, and @react-spring/zdog targets are removed — each has near-zero direct installs once the umbrella's inflation is accounted for (#2518). React Native support goes with them: the .native hook variants and the react-native dependency are dropped, since react-spring runs its spring engine on the JS thread and never uses RN's native driver — Reanimated is the right tool there.

The react-spring umbrella package is also removed. It only ever re-exported @react-spring/web, so consumers now install a target directly (@react-spring/web or @react-spring/three).

Breaking changes

  • react-spring, @react-spring/native, @react-spring/konva, and @react-spring/zdog are no longer published.
  • The remaining @react-spring/* packages bump to a major.

Closes #2518

@vercel

vercel Bot commented Jun 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-spring Error Error Jun 8, 2026 6:32pm

Request Review

@changeset-bot

changeset-bot Bot commented Jun 4, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3765e3a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 9 packages
Name Type
@react-spring/web Major
@react-spring/parallax Major
@react-spring/animated Major
@react-spring/core Major
@react-spring/mock-raf Major
@react-spring/rafz Major
@react-spring/shared Major
@react-spring/types Major
@react-spring/three Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copilot AI changed the title [WIP] Deprecate @react-spring/zdog, @react-spring/konva, and @react-spring/native Deprecate and remove @react-spring/native, @react-spring/konva, and @react-spring/zdog targets Jun 4, 2026
Copilot AI requested a review from joshuaellis June 4, 2026 15:09
@joshuaellis

Copy link
Copy Markdown
Member

@copilot you've not added a changset. This would likely be refactor! To denote the breaking change. Or it could be chore! idk.

Copilot AI commented Jun 4, 2026

Copy link
Copy Markdown
Contributor Author

@copilot you've not added a changset. This would likely be refactor! To denote the breaking change. Or it could be chore! idk.

Added a changeset in bdae922 with a major bump for react-spring to mark the breaking removal of the deprecated targets.

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Docs preview: https://pr-2526---react-spring-204644970562.europe-west1.run.app

Deployed at f7432e0c49cab96be891c77b876c6fe3adc4bf49. Updates on every push.

@joshuaellis

Copy link
Copy Markdown
Member

@copilot the changeset isn't using semantic conventions, neither is the PR title.

Copilot AI commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

@copilot the changeset isn't using semantic conventions, neither is the PR title.

Updated in ac4fa6c: the changeset now uses semantic-convention wording (refactor!:) while keeping the major bump. I can’t edit the PR title from this interface; suggested title: refactor!: remove deprecated native, konva, and zdog targets.

@joshuaellis joshuaellis changed the title Deprecate and remove @react-spring/native, @react-spring/konva, and @react-spring/zdog targets refactor!: remove deprecated native, konva, and zdog targets Jun 8, 2026
@joshuaellis joshuaellis force-pushed the copilot/deprecate-react-spring-packages branch from ac4fa6c to 3765e3a Compare June 11, 2026 17:17
@joshuaellis joshuaellis changed the title refactor!: remove deprecated native, konva, and zdog targets refactor!: remove deprecated targets, native support, and the react-spring umbrella Jun 11, 2026
@joshuaellis joshuaellis marked this pull request as ready for review June 11, 2026 17:18
@joshuaellis joshuaellis merged commit 8cbc52d into next Jun 11, 2026
21 checks passed
@joshuaellis joshuaellis deleted the copilot/deprecate-react-spring-packages branch June 11, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate @react-spring/zdog, @react-spring/konva, and @react-spring/native

2 participants