SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Added AnimatedValueXY.removeAllListeners

Summary:
> Explain the **motivation** for making this change. What existing problem does the pull request solve?

`AnimatedValueX` has `removeAllListeners()` which is a convenient way to do cleanup when components unmount, but `AnimatedValueXY` was missing a similar method which doesn't really make sense. This change makes the two classes more similar, less confusing and more convenient.
Closes https://github.com/facebook/react-native/pull/11783

Differential Revision: D4397188

fbshipit-source-id: d10a0c9c7e0a83af015ec04f6facf965d95ea984
S
Seph Soliman committed
6d2ae35bca7c5a35e9c537880ebb2f3d5cbaec76
Parent: 237ee2d
Committed by Facebook Github Bot <facebook-github-bot@users.noreply.github.com> on 1/14/2017, 10:43:27 PM