Skip to content

Convert ImageBackground to function component#56355

Open
retyui wants to merge 1 commit intofacebook:mainfrom
retyui:ImageBackground-fn-comp
Open

Convert ImageBackground to function component#56355
retyui wants to merge 1 commit intofacebook:mainfrom
retyui:ImageBackground-fn-comp

Conversation

@retyui
Copy link
Copy Markdown
Contributor

@retyui retyui commented Apr 7, 2026

Summary:

As per title.

also important to mention

<ImageBackground ref={ref => ref?.setNativeProps({...})} />
// before `ref` has only one method `setNativeProps`
// but now it will include all `View` methods (like `measure`, `setNativeProps` ...)

Changelog:

[GENERAL] [CHANGED] - Convert ImageBackground to function component

Test Plan:

...

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 7, 2026
@facebook-github-tools facebook-github-tools bot added p: Callstack Partner: Callstack Partner labels Apr 7, 2026
@retyui retyui force-pushed the ImageBackground-fn-comp branch from 6ea54f0 to 7ec68a5 Compare April 7, 2026 15:47
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

Warning

JavaScript API change detected

This PR commits an update to ReactNativeApi.d.ts, indicating a change to React Native's public JavaScript API.

  • Please include a clear changelog message.
  • This change will be subject to additional review.

This change was flagged as: POTENTIALLY_BREAKING

@facebook-github-tools facebook-github-tools bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Apr 7, 2026
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. p: Callstack Partner: Callstack Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant