Gaëtan Renaudeau 19d0429a76 Expose getNode() on component created with createAnimatedComponent
Summary:
see also: eb3360b02a (commitcomment-19042340)

commit eb3360b02ab82d20bc3c3f38f543b0d742598346 recently break some third libraries that was (weakly) relying on traversing `animatedNode.refs.node` to get the original node of the decorated (animated) component (at least 2 libs: gl-react-native and react-native-material-kit).
Instead of now doing `animatedNode._component` (that might later break again), getNode() is a more 'public' solution for these third party.

as you expose a way to create an animated component (`createAnimatedComponent`) you sometimes still want a way to get the reference.
That way, third party components can continue providing some extra native methods to the animated version.
Closes https://github.com/facebook/react-native/pull/9944

Differential Revision: D3885973

Pulled By: foghina

fbshipit-source-id: 43ffdbfe7f9c52f5a1689e6a9a4052d4973f5c5f
2016-09-19 03:58:28 -07:00
..
2016-08-09 06:43:46 -07:00
2016-08-09 06:43:46 -07:00
2016-07-06 12:58:41 -07:00
2016-09-15 12:13:39 -07:00
2016-08-09 06:43:46 -07:00
2016-07-14 11:13:27 -07:00
2016-08-09 06:43:46 -07:00
2016-09-15 22:43:36 -07:00
2016-08-09 06:43:46 -07:00
2016-08-09 06:43:46 -07:00
2016-09-14 02:58:40 -07:00
2016-09-06 13:43:47 -07:00
2016-07-25 03:43:29 -07:00
2016-08-09 06:43:46 -07:00
2016-09-14 11:28:34 -07:00
2016-08-12 07:28:38 -07:00