3

animation-wrapper-view, declarative animations with imperative controls

 3 years ago
source link: https://dev.to/swapnil1104/animation-wrapper-view-declarative-animations-with-imperative-controls-533k
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

animation-wrapper-view, declarative animations with imperative controls

Aug 25

・1 min read

animation-wrapper-view is a collection of a well-defined set of component-level animations, that a developer can utilize just by providing some configurations. AnimationWrapperView will add plug and play type support to the already robust Animated API and will take care of all the intricate details of each animation type.

Features

  • Power animation payload from anywhere (backend ? 😉)
  • Extremely light-weight (4KB gzipped + minified).
  • Out-of-box support for iOS, Android and RNW.
  • Great selection of well defined animations.
  • Declarative transformation animations with JSON.
  • Imperative controls to the animation state. (start/pause/reset)

Check out this snack, play around with the library.
Snack Link: https://snack.expo.dev/@swapnil1104/animationwrapperview-playground
Library Link: https://github.com/flipkart-incubator/animation-wrapper-view

People looking for solving complex animation use-cases with JSON-based payload, potentially server-driven, can definitely have a look! Looking forward to any feedback/feature requests!

Cheers.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK