Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animated: Restore AnimatedNode.prototype.toJSON #46498

Closed
wants to merge 1 commit into from

Conversation

yungsters
Copy link
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
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
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
Contributor

This pull request has been merged in 7bd4a54.

@react-native-bot
Copy link
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
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