-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Introduce AnimatedObject JS node #36688
Conversation
This pull request was exported from Phabricator. Differential Revision: D44279594 |
Base commit: 6403363 |
This pull request was exported from Phabricator. Differential Revision: D44279594 |
Summary: Pull Request resolved: facebook#36688 AnimatedObject is a more generic version of AnimatedTransform, able to handle animated values within arrays and objects. This is useful for props of native components that may need to be animated per field. I considered flattening the node graph by removing AnimatedStyle and AnimatedTransform. However, this would add significant complexity in AnimatedProps because prop and style values depend on being submitted together on an animation tick (such as transform) using native driver; also, we'll have to special case style anyway. Changelog: [Internal][Added] - Introduce AnimatedObject JS node for handling array and object prop values Differential Revision: D44279594 fbshipit-source-id: 3ba28441d207071a3d4314238fcbfc70913cb321
baba247
to
c9810c3
Compare
This pull request was exported from Phabricator. Differential Revision: D44279594 |
Summary: Pull Request resolved: facebook#36688 AnimatedObject is a more generic version of AnimatedTransform, able to handle animated values within arrays and objects. This is useful for props of native components that may need to be animated per field. I considered flattening the node graph by removing AnimatedStyle and AnimatedTransform. However, this would add significant complexity in AnimatedProps because prop and style values depend on being submitted together on an animation tick (such as transform) using native driver; also, we'll have to special case style anyway. Changelog: [Internal][Added] - Introduce AnimatedObject JS node for handling array and object prop values Differential Revision: D44279594 fbshipit-source-id: dc1b0696c291bae7fb6f0ef4319a0443911a1172
c9810c3
to
22a6a90
Compare
This pull request was exported from Phabricator. Differential Revision: D44279594 |
22a6a90
to
e327cda
Compare
Summary: Pull Request resolved: facebook#36688 AnimatedObject is a more generic version of AnimatedTransform, able to handle animated values within arrays and objects. This is useful for props of native components that may need to be animated per field. I considered flattening the node graph by removing AnimatedStyle and AnimatedTransform. However, this would add significant complexity in AnimatedProps because prop and style values depend on being submitted together on an animation tick (such as transform) using native driver; also, we'll have to special case style anyway. Changelog: [Internal][Added] - Introduce AnimatedObject JS node for handling array and object prop values Differential Revision: D44279594 fbshipit-source-id: 0be0cfa7782bc95c846a2055d18fb521fd8ab0b5
Summary: Pull Request resolved: facebook#36688 AnimatedObject is a more generic version of AnimatedTransform, able to handle animated values within arrays and objects. This is useful for props of native components that may need to be animated per field. I considered flattening the node graph by removing AnimatedStyle and AnimatedTransform. However, this would add significant complexity in AnimatedProps because prop and style values depend on being submitted together on an animation tick (such as transform) using native driver; also, we'll have to special case style anyway. Changelog: [Internal][Added] - Introduce AnimatedObject JS node for handling array and object prop values Reviewed By: rshest Differential Revision: D44279594 fbshipit-source-id: 0b0cfdfe4f49a520c66cded1ad1565aba0466485
This pull request was exported from Phabricator. Differential Revision: D44279594 |
e327cda
to
3642463
Compare
This pull request has been merged in d0fcd43. |
Summary: Pull Request resolved: facebook#36688 AnimatedObject is a more generic version of AnimatedTransform, able to handle animated values within arrays and objects. This is useful for props of native components that may need to be animated per field. I considered flattening the node graph by removing AnimatedStyle and AnimatedTransform. However, this would add significant complexity in AnimatedProps because prop and style values depend on being submitted together on an animation tick (such as transform) using native driver; also, we'll have to special case style anyway. Changelog: [Internal][Added] - Introduce AnimatedObject JS node for handling array and object prop values Reviewed By: rshest Differential Revision: D44279594 fbshipit-source-id: 9504d841dc9196e51d09a0247601de4d4f991a49
Summary: Pull Request resolved: facebook#36688 AnimatedObject is a more generic version of AnimatedTransform, able to handle animated values within arrays and objects. This is useful for props of native components that may need to be animated per field. I considered flattening the node graph by removing AnimatedStyle and AnimatedTransform. However, this would add significant complexity in AnimatedProps because prop and style values depend on being submitted together on an animation tick (such as transform) using native driver; also, we'll have to special case style anyway. Changelog: [Internal][Added] - Introduce AnimatedObject JS node for handling array and object prop values Reviewed By: rshest Differential Revision: D44279594 fbshipit-source-id: 9504d841dc9196e51d09a0247601de4d4f991a49
Summary:
AnimatedObject is a more generic version of AnimatedTransform, able to handle animated values within arrays and objects. This is useful for props of native components that may need to be animated per field.
I considered flattening the node graph by removing AnimatedStyle and AnimatedTransform. However, this would add significant complexity in AnimatedProps because prop and style values depend on being submitted together on an animation tick (such as transform) using native driver; also, we'll have to special case style anyway.
Changelog:
[Internal][Added] - Introduce AnimatedObject JS node for handling array and object prop values
Differential Revision: D44279594