-
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
Calculated values #41
Comments
If you guys familiar with ClojureScript you can see it in action on my experiment with react native navigation https://github.com/savelichalex/experiment-navigation-react-native/tree/cell-proposal |
I also think being able to implement this I remember we had a discussion here in the past: animatedjs/interactive-docs#5 is this ~ the same topic or am I out of subject?
|
Yeah, this is possible to extend in third party library, but maybe we can create smth interesting if it'll be in core. I'm trying to say, that we also can extend behavior of few core methods. For example if |
What are you guys thinking about calculated values? Something like
Behaviors
in FRP terms or spreadsheet-like dataflow.Main question is why do we need them?
Ok - let's explain we have transitions between scenes, and main value for all transition is
progress
- this is value changed by time for 0 to 1. In scene we want to change text opacity and some position.But I want to use calculated values, smth like this:
And use it in scene:
Every time when progress is changed, opacity and margin-left recalculated and refresh Animated.
What do you think?
The text was updated successfully, but these errors were encountered: