Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Animated: Delete
AnimatedNode.prototype.toJSON
(#46382)
Summary: Pull Request resolved: #46382 Deletes the `AnimatedNode.prototype.toJSON` method. It was originally introduced by [#7442](#7442) as a means to resolve [#7441](#7441), where an error occurs attempting to serialize `AnimatedNode` instances. However, this is no longer needed for that purpose because our inspector implementation is now more resilient. (It correctly reports the current style value instead of the `AnimatedNode` instance.) The impetus for this change is that this `toJSON` method prevents a future performance optimization for all `Animated` components. Changelog: [General][Changed] - AnimatedNode (and its subclasses) no longer implement `toJSON()`. Reviewed By: javache Differential Revision: D62350726 fbshipit-source-id: c68edc98878e58d48bc677c4f1299bb1bd15c9c4
- Loading branch information