Skip to content

Conversation

@sammy-SC
Copy link
Contributor

Summary:
changelog: [internal]

Surface props can change during life cycle of a surface. This was supported before the new renderer as well. AppRegistry has a corresponding method for this: AppRegistry.setSurfaceProps.
To add support for this, we just need to call into UIManager::setSurfaceProps.

Reviewed By: rshest

Differential Revision: D45272046

@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 Apr 25, 2023
@facebook-github-bot
Copy link
Contributor

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

)

Summary:
Pull Request resolved: facebook#37087

changelog: [internal]

Surface props can change during life cycle of a surface. This was supported before the new renderer as well. AppRegistry has a corresponding method for this: `AppRegistry.setSurfaceProps`.
To add support for this, we just need to call into `UIManager::setSurfaceProps`.

Reviewed By: rshest

Differential Revision: D45272046

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

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

@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,625,143 +246
android hermes armeabi-v7a 7,937,882 +350
android hermes x86 9,112,213 +435
android hermes x86_64 8,966,915 +284
android jsc arm64-v8a 9,189,192 +248
android jsc armeabi-v7a 8,379,379 +338
android jsc x86 9,247,611 +438
android jsc x86_64 9,505,953 +279

Base commit: 41c6f0f
Branch: main

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

This pull request has been merged in 09a810a.

jeongshin pushed a commit to jeongshin/react-native that referenced this pull request May 7, 2023
)

Summary:
Pull Request resolved: facebook#37087

changelog: [internal]

Surface props can change during life cycle of a surface. This was supported before the new renderer as well. AppRegistry has a corresponding method for this: `AppRegistry.setSurfaceProps`.
To add support for this, we just need to call into `UIManager::setSurfaceProps`.

Reviewed By: rshest

Differential Revision: D45272046

fbshipit-source-id: d138b57d5c83f554839b0db0e6721045b8dc81ef
OlimpiaZurek pushed a commit to OlimpiaZurek/react-native that referenced this pull request May 22, 2023
)

Summary:
Pull Request resolved: facebook#37087

changelog: [internal]

Surface props can change during life cycle of a surface. This was supported before the new renderer as well. AppRegistry has a corresponding method for this: `AppRegistry.setSurfaceProps`.
To add support for this, we just need to call into `UIManager::setSurfaceProps`.

Reviewed By: rshest

Differential Revision: D45272046

fbshipit-source-id: d138b57d5c83f554839b0db0e6721045b8dc81ef
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