-
Notifications
You must be signed in to change notification settings - Fork 102
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
Proposal: Add an isAnimated(val)
existential method
#9
Comments
Big +1 for this Le dim. 28 févr. 2016 17:47, Leland Richardson notifications@github.com a
|
Yeah I think this is great, although it'll have to pair nicely with however we decide to move forward with custom animated values. Whether that is just extending |
@browniefed i'm working on a proposal for that right now. Either way, it should work fine. The test would basically just check: |
Tis what I figured 👍 |
Really smart! I've been struggling to figure out how to encode that. Make it happen :) |
@lelandrichardson if Animated/AnimatedWithChildren is not exposed, how can a third party library implement his own Animated? Will the library expose ways to create an Animated class? |
This would be a good API to provide people for detecting whether or not a given value is an animated value or not. This could be used, for example, to produce PropTypes helpers for the library.
The text was updated successfully, but these errors were encountered: