Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enable SpringRef.set to be called with a function #2069

Merged
merged 3 commits into from Feb 6, 2023

Conversation

joshuaellis
Copy link
Member

Why

What

  • SpringRef.set now accepts a function meaning you can set different Controllers

Checklist

  • Documentation updated
  • Ready to be merged

@joshuaellis joshuaellis added kind: request New feature or request that should be actioned area: core relates to core classes // parts of the library labels Feb 6, 2023
@changeset-bot
Copy link

changeset-bot bot commented Feb 6, 2023

🦋 Changeset detected

Latest commit: 0d2e8ce

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

This PR includes changesets to release 12 packages
Name Type
@react-spring/core Minor
@react-spring/animated Minor
@react-spring/parallax Minor
@react-spring/rafz Minor
react-spring Minor
@react-spring/shared Minor
@react-spring/types Minor
@react-spring/konva Minor
@react-spring/native Minor
@react-spring/three Minor
@react-spring/web Minor
@react-spring/zdog Minor

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

@vercel
Copy link

vercel bot commented Feb 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
react-spring ✅ Ready (Inspect) Visit Preview Feb 6, 2023 at 6:08PM (UTC)

@codesandbox-ci
Copy link

codesandbox-ci bot commented Feb 6, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 0d2e8ce:

Sandbox Source
Animating Auto Configuration
Card Configuration
Cards Stack Configuration
Chaining Transition and a Spring Configuration
CSS Gradients Configuration
CSS Keyframes Configuration
Async CSS variables Configuration
Draggable List Configuration
Exit Before Enter Configuration
Flip Card Configuration
Floating Button Configuration
Goo Blobs Configuration
Image Fade Configuration
List Reordering Configuration
MacOS Dock Configuration
Masonry Grid Configuration
Multistage Transitions Configuration
Noise Configuration
Notification Hub Configuration
Horizontal Parallax Configuration
Sticky Parallax Configuration
Vertical Parallax Configuration
Rocket decay Configuration
Basic Transition Configuration
Native Slide Configuration
react-spring useSprings bug Issue #1725
react-spring useSprings bug Issue #1725

@joshuaellis joshuaellis changed the title enable SpringRef.set to be called with a function feat: enable SpringRef.set to be called with a function Feb 6, 2023
@joshuaellis joshuaellis merged commit cd80814 into master Feb 6, 2023
@joshuaellis joshuaellis deleted the feat/update-spring-ref-set branch February 6, 2023 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: core relates to core classes // parts of the library kind: request New feature or request that should be actioned
Projects
None yet
Development

Successfully merging this pull request may close these issues.

api.set does not work for useSprings hook
1 participant