Skip to content

Conversation

@joshuaellis
Copy link
Member

Why

What

  • Updates peer deps to allow react@18
  • Move the cleanup handling into an actual effect cleanup operation in withAnimated
  • Fix useForceUpdate by using arbitrary number to update state because an empty object does not work (in strict mode)
  • Check if there are used transitions to be ran in initial mount (would only have an effect in the instance of strict mode) in useTransition

Checklist

  • Ready to be merged

@vercel
Copy link

vercel bot commented Apr 21, 2022

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

Name Status Preview Updated
react-spring-io ✅ Ready (Inspect) Visit Preview May 4, 2022 at 3:01PM (UTC)

@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 21, 2022

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 f3f11ba:

Sandbox Source
spring-animating-auto Configuration
spring-card Configuration
spring-cards-stack Configuration
pmndrs/react-spring Configuration
spring-draggable-list Configuration
spring-flip-card Configuration
pmndrs/react-spring Configuration
pmndrs/react-spring Configuration
pmndrs/react-spring Configuration
pmndrs/react-spring Configuration
pmndrs/react-spring Configuration
charming-water-5bf0ns Issue #1828
reverent-blackwell-bs8jit Issue #1828

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment