Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: In 0.62, `createAnimatedComponent` was changed to use `forwardRef` instead of requiring callers to use `ref.getNode()`. In order to preserve backward-compatibility, `ref.getNode()` was monkey-patched onto the returned ref, if possible, to return the `ref` and output a console warning. Three major (well, technically, minor) releases later, we are dropping support for `getNode()`. Calling it on the `ref` of an animated component will begin to fail after this (unless the underlying component itself actually implements a `getNode()` method on its imperative handle). Changelog: [General][Removed] - Removed `getNode()` from animated component refs. Reviewed By: nadiia Differential Revision: D27979882 fbshipit-source-id: 885c3dbf4f2749c994fc2662dd6f16ff3dd887c7
- Loading branch information