Skip to content
This repository has been archived by the owner on Apr 14, 2020. It is now read-only.

Less is more | Self targeted animations no longer need name

Compare
Choose a tag to compare
@itsdouges itsdouges released this 24 May 02:33
· 71 commits to master since this release

Small but sweet release today. Really great change for the api - you can remove name prop now when doing self targeted animations!

({ size }) =>
  <Animator
-    name="change-size"
    triggerSelfKey={size}
  />

To have this a possibility we've removed the need for name being required in the typedefs - however you'll get a runtime warning if you're not using name when you should be.