chenglou / chenglou/react-motion
Question: Series of Animations on one element?
- Dominant language
- JavaScript
- Stars
- 21.9k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I was wondering what currently would be the best way of achieving a sequence of animations on a single element ? So essentially, a way of looping through an array of destination values (spring configs) ?
Obviously it would be lovely if you could pass in an array of spring configs to the Motion component which would detect once one spring has finished and the next should start until it gets to the final spring config, although this just wishful thinking X) !
Great library, really like the way of thinking of animations in terms of a spring, really like where you're coming from and going with the library (react talk in summer was one of my favourites)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the Motion component and the existing spring-config behavior referenced in the issue. Determine whether sequential destination values are supported or require a new API, then define completion as reliably advancing through an array of spring configs until the final animation finishes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100