-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Add option to trigger the backend from events #54899
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
Add option to trigger the backend from events #54899
Conversation
|
@bartlomiejbloniarz has exported this pull request. If you are a Meta employee, you can view the originating Diff in D89286813. |
Summary: Pull Request resolved: facebook#54899 Currently the backend only applies changes when it is notified of a new animation frame. This setup doesn't work properly for events, as they could come in after the current frame was already calculated. So we need to allow events to trigger the backend manually. Differential Revision: D89286813
1771c26 to
68fb734
Compare
Summary: Pull Request resolved: facebook#54899 Currently the backend only applies changes when it is notified of a new animation frame. This setup doesn't work properly for events, as they could come in after the current frame was already calculated. So we need to allow events to trigger the backend manually. Differential Revision: D89286813
6f46eea to
8944b0c
Compare
Summary: Pull Request resolved: facebook#54899 Currently the backend only applies changes when it is notified of a new animation frame. This setup doesn't work properly for events, as they could come in after the current frame was already calculated. So we need to allow events to trigger the backend manually. Differential Revision: D89286813
|
8944b0c to
d98e3bf
Compare
Summary: Pull Request resolved: facebook#54899 Currently the backend only applies changes when it is notified of a new animation frame. This setup doesn't work properly for events, as they could come in after the current frame was already calculated. So we need to allow events to trigger the backend manually. Differential Revision: D89286813
d98e3bf to
c345fae
Compare
Summary: Pull Request resolved: facebook#54899 Currently the backend only applies changes when it is notified of a new animation frame. This setup doesn't work properly for events, as they could come in after the current frame was already calculated. So we need to allow events to trigger the backend manually. Differential Revision: D89286813
c345fae to
800f741
Compare
Summary: Pull Request resolved: facebook#54899 Currently the backend only applies changes when it is notified of a new animation frame. This setup doesn't work properly for events, as they could come in after the current frame was already calculated. So we need to allow events to trigger the backend manually. Differential Revision: D89286813
Summary: Pull Request resolved: facebook#54879 This diff is a part of the process of getting the Animated-itest to work with Animation Backend. During testing I found that sometimes the disconnect method would cleanup `tagToShadowNodeFamily_` when there were more than one PropsAnimatedNode for a view, so we would wrongly skip an animation. By storing the family pointer on the props node we can avoid that. Differential Revision: D89042963
Summary: Pull Request resolved: facebook#54877 This diff adds synchronizing props to react, through a scheduled commit on the js thread. This is used by animated at the end of the animation, and leverages RSNRU to actually push the update to reactjs. Differential Revision: D89042949
Summary: Pull Request resolved: facebook#54899 Currently the backend only applies changes when it is notified of a new animation frame. This setup doesn't work properly for events, as they could come in after the current frame was already calculated. So we need to allow events to trigger the backend manually. Reviewed By: zeyap Differential Revision: D89286813
800f741 to
5c79c1e
Compare
|
This pull request was successfully merged by Bartlomiej Bloniarz in ac06f3b When will my fix make it into a release? | How to file a pick request? |
|
This pull request has been merged in ac06f3b. |
Summary: Currently the backend only applies changes when it is notified of a new animation frame. This setup doesn't work properly for events, as they could come in after the current frame was already calculated. So we need to allow events to trigger the backend manually.
Differential Revision: D89286813