Skip to content

Animated: Restore AnimatedNode.prototype.toJSON#46498

Closed
yungsters wants to merge 1 commit into
facebook:mainfrom
yungsters:export-D62690380
Closed

Animated: Restore AnimatedNode.prototype.toJSON#46498
yungsters wants to merge 1 commit into
facebook:mainfrom
yungsters:export-D62690380

Conversation

@yungsters
Copy link
Copy Markdown
Contributor

Summary:
Looks like this is still necessary because we still run into this error when using the Components tab when using React DevTools:

TypeError: cyclical structure in JSON object

This effectively reverts #46382.

Changelog:
[General][Changed] - AnimatedNode (and its subclasses) once again implement toJSON().

Differential Revision: D62690380

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Sep 14, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D62690380

Summary:
Pull Request resolved: facebook#46498

Looks like this is still necessary because we still run into this error when using the Components tab when using React DevTools:

> TypeError: cyclical structure in JSON object

This effectively reverts facebook#46382.

Changelog:
[General][Changed] - AnimatedNode (and its subclasses) once again implement `toJSON()`.

Reviewed By: javache

Differential Revision: D62690380
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D62690380

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Sep 15, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 7bd4a54.

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @yungsters in 7bd4a54

When will my fix make it into a release? | How to file a pick request?

cipolleschi pushed a commit that referenced this pull request Sep 16, 2024
Summary:
Pull Request resolved: #46498

Looks like this is still necessary because we still run into this error when using the Components tab when using React DevTools:

> TypeError: cyclical structure in JSON object

This effectively reverts #46382.

Changelog:
[General][Changed] - AnimatedNode (and its subclasses) once again implement `toJSON()`.

Reviewed By: javache

Differential Revision: D62690380

fbshipit-source-id: d5b7c1d156b49838abefe48a7d7b61471cc3488a
cipolleschi added a commit that referenced this pull request Sep 16, 2024
@blakef blakef mentioned this pull request Oct 30, 2024
@yungsters yungsters deleted the export-D62690380 branch March 13, 2025 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants