You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sample here shows how to use snapTo from a class-based component for starting the animation by a button click.
Since Hook's, it's more tempting to use functional components with state, but in functional components, we can't use refs for obtaining instance. Is there any other way to use snapTo for Interactable.View inside functional component? If so, could you please provide some sample?
Thanks in advance and thanks for a great work!
The text was updated successfully, but these errors were encountered:
Sample here shows how to use snapTo from a class-based component for starting the animation by a button click.
Since Hook's, it's more tempting to use functional components with state, but in functional components, we can't use refs for obtaining instance. Is there any other way to use
snapTo
forInteractable.View
inside functional component? If so, could you please provide some sample?Thanks in advance and thanks for a great work!
The text was updated successfully, but these errors were encountered: