Skip to content

Conversation

rubennorte
Copy link
Contributor

Summary:
The const modified in UIManagerCommitHook prevents us from mutating the commit hook itself (which doesn't make any sense as commit hooks might want to update their internal state as response to new commits).

This removes the constraint so we can remove the const modifier from MutationObserverManager in D46149086.

Changelog: [internal]

Reviewed By: sammy-SC

Differential Revision: D46149085

@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 fb-exported labels May 26, 2023
@facebook-github-bot
Copy link
Contributor

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

@analysis-bot
Copy link

analysis-bot commented May 26, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,744,746 +3,384
android hermes armeabi-v7a 8,056,367 +3,903
android hermes x86 9,235,864 +4,166
android hermes x86_64 9,086,769 +3,665
android jsc arm64-v8a 9,307,441 +3,469
android jsc armeabi-v7a 8,496,665 +4,010
android jsc x86 9,369,642 +4,259
android jsc x86_64 9,624,670 +3,772

Base commit: ff849fd
Branch: main

@facebook-github-bot
Copy link
Contributor

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

rubennorte added a commit to rubennorte/react-native that referenced this pull request May 26, 2023
…ok#37588)

Summary:
Pull Request resolved: facebook#37588

The `const` modified in UIManagerCommitHook prevents us from mutating the commit hook itself (which doesn't make any sense as commit hooks might want to update their internal state as response to new commits).

This removes the constraint so we can remove the `const` modifier from `MutationObserverManager` in D46149086.

Changelog: [internal]

Reviewed By: sammy-SC

Differential Revision: D46149085

fbshipit-source-id: c258fc3b8a2800db720cc5609a90f15f9b03536c
rubennorte added a commit to rubennorte/react-native that referenced this pull request May 26, 2023
…ok#37588)

Summary:
Pull Request resolved: facebook#37588

The `const` modified in UIManagerCommitHook prevents us from mutating the commit hook itself (which doesn't make any sense as commit hooks might want to update their internal state as response to new commits).

This removes the constraint so we can remove the `const` modifier from `MutationObserverManager` in a future diff.

Changelog: [internal]

Reviewed By: sammy-SC

Differential Revision: D46149085

fbshipit-source-id: c834b950132b3a9e0b7ddeec0156ff8bc9d87245
@facebook-github-bot
Copy link
Contributor

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

rubennorte and others added 6 commits May 26, 2023 07:05
…that works with an ancestor list

Differential Revision: D45866232

fbshipit-source-id: ee2f834eca3cee9966ac94007bfecb211b8401ec
…le on a parent node

Differential Revision: D45866231

fbshipit-source-id: 047b562d3c2800689bbf48427f88e7e8b9e85653
…to layout metrics

Differential Revision: D45866245

fbshipit-source-id: 63b63a465599d575db2ffc079db8300af1195188
Differential Revision: D45916675

fbshipit-source-id: 0a196eb5dc335264618da52b2076008817b67451
Differential Revision: D45866244

fbshipit-source-id: 8ed328e60fa16a9bb45e029f28d50b992a87177c
…ok#37588)

Summary:
Pull Request resolved: facebook#37588

The `const` modified in UIManagerCommitHook prevents us from mutating the commit hook itself (which doesn't make any sense as commit hooks might want to update their internal state as response to new commits).

This removes the constraint so we can remove the `const` modifier from `MutationObserverManager` in a future diff.

Changelog: [internal]

Reviewed By: sammy-SC

Differential Revision: D46149085

fbshipit-source-id: e348479c4b5b3d864f7be9133588b0a5eedc8452
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label May 26, 2023
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 3afb5b8.

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