Skip to content

chore: Convert ImageBackground to function component#57186

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

chore: Convert ImageBackground to function component#57186
retyui wants to merge 1 commit into
react:mainfrom
retyui:ImageBackground-fn-comp

Conversation

@retyui

@retyui retyui commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

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 Jun 12, 2026
@facebook-github-tools facebook-github-tools Bot added 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. labels Jun 12, 2026
@retyui

retyui commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

Hey @cortinico, any idea who might be able to take a look at this PR?

@retyui
retyui force-pushed the ImageBackground-fn-comp branch from e52ed3a to e22dfba Compare July 21, 2026 07:48
@retyui
retyui force-pushed the ImageBackground-fn-comp branch from e22dfba to 3f4d1fc Compare July 21, 2026 08:12
@github-actions

Copy link
Copy Markdown

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: BREAKING

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