Skip to content

Export ViewConfig processor attributes from ReactNativeStyleAttributes#55674

Closed
NickGerleman wants to merge 1 commit intofacebook:mainfrom
NickGerleman:export-D94052734
Closed

Export ViewConfig processor attributes from ReactNativeStyleAttributes#55674
NickGerleman wants to merge 1 commit intofacebook:mainfrom
NickGerleman:export-D94052734

Conversation

@NickGerleman
Copy link
Copy Markdown
Contributor

Summary:
Centralize gated ViewConfig processor attributes into exported constants in ReactNativeStyleAttributes.js. This is a pure refactor — no new behavior. When enableNativeCSSParsing() is on, the JS processor is bypassed and the raw value is sent directly to native.

Exported attributes: colorAttribute, filterAttribute, boxShadowAttribute, backgroundImageAttribute, backgroundSizeAttribute, backgroundPositionAttribute, backgroundRepeatAttribute.

All ViewConfig files now import these constants instead of inlining {process: require(...)} or feature flag checks.

Changelog: [Internal]

Differential Revision: D94052734

@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 Feb 23, 2026
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Feb 23, 2026
facebook#55674)

Summary:

Centralize gated ViewConfig processor attributes into exported constants in `ReactNativeStyleAttributes.js`. This is a pure refactor — no new behavior. When `enableNativeCSSParsing()` is on, the JS processor is bypassed and the raw value is sent directly to native.

Exported attributes: `colorAttribute`, `filterAttribute`, `boxShadowAttribute`, `backgroundImageAttribute`, `backgroundSizeAttribute`, `backgroundPositionAttribute`, `backgroundRepeatAttribute`.

All ViewConfig files now import these constants instead of inlining `{process: require(...)}` or feature flag checks.

Changelog: [Internal]

Differential Revision: D94052734
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Feb 23, 2026
facebook#55674)

Summary:
Pull Request resolved: facebook#55674

Centralize gated ViewConfig processor attributes into exported constants in `ReactNativeStyleAttributes.js`. This is a pure refactor — no new behavior. When `enableNativeCSSParsing()` is on, the JS processor is bypassed and the raw value is sent directly to native.

Exported attributes: `colorAttribute`, `filterAttribute`, `boxShadowAttribute`, `backgroundImageAttribute`, `backgroundSizeAttribute`, `backgroundPositionAttribute`, `backgroundRepeatAttribute`.

All ViewConfig files now import these constants instead of inlining `{process: require(...)}` or feature flag checks.

Changelog: [Internal]

Differential Revision: D94052734
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Feb 23, 2026

@NickGerleman has exported this pull request. If you are a Meta employee, you can view the originating Diff in D94052734.

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Feb 23, 2026
facebook#55674)

Summary:

Centralize gated ViewConfig processor attributes into exported constants in `ReactNativeStyleAttributes.js`. This is a pure refactor — no new behavior. When `enableNativeCSSParsing()` is on, the JS processor is bypassed and the raw value is sent directly to native.

Exported attributes: `colorAttribute`, `filterAttribute`, `boxShadowAttribute`, `backgroundImageAttribute`, `backgroundSizeAttribute`, `backgroundPositionAttribute`, `backgroundRepeatAttribute`.

All ViewConfig files now import these constants instead of inlining `{process: require(...)}` or feature flag checks.

Changelog: [Internal]

Differential Revision: D94052734
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Feb 23, 2026
facebook#55674)

Summary:

Centralize gated ViewConfig processor attributes into exported constants in `ReactNativeStyleAttributes.js`. This is a pure refactor — no new behavior. When `enableNativeCSSParsing()` is on, the JS processor is bypassed and the raw value is sent directly to native.

Exported attributes: `colorAttribute`, `filterAttribute`, `boxShadowAttribute`, `backgroundImageAttribute`, `backgroundSizeAttribute`, `backgroundPositionAttribute`, `backgroundRepeatAttribute`.

All ViewConfig files now import these constants instead of inlining `{process: require(...)}` or feature flag checks.

Changelog: [Internal]

Differential Revision: D94052734
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Feb 23, 2026
facebook#55674)

Summary:

Centralize gated ViewConfig processor attributes into exported constants in `ReactNativeStyleAttributes.js`. This is a pure refactor — no new behavior. When `enableNativeCSSParsing()` is on, the JS processor is bypassed and the raw value is sent directly to native.

Exported attributes: `colorAttribute`, `filterAttribute`, `boxShadowAttribute`, `backgroundImageAttribute`, `backgroundSizeAttribute`, `backgroundPositionAttribute`, `backgroundRepeatAttribute`.

All ViewConfig files now import these constants instead of inlining `{process: require(...)}` or feature flag checks.

Changelog: [Internal]

Differential Revision: D94052734
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Feb 23, 2026
facebook#55674)

Summary:

Centralize gated ViewConfig processor attributes into exported constants in `ReactNativeStyleAttributes.js`. This is a pure refactor — no new behavior. When `enableNativeCSSParsing()` is on, the JS processor is bypassed and the raw value is sent directly to native.

Exported attributes: `colorAttribute`, `filterAttribute`, `boxShadowAttribute`, `backgroundImageAttribute`, `backgroundSizeAttribute`, `backgroundPositionAttribute`, `backgroundRepeatAttribute`.

All ViewConfig files now import these constants instead of inlining `{process: require(...)}` or feature flag checks.

Changelog: [Internal]

Differential Revision: D94052734
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Feb 23, 2026
facebook#55674)

Summary:

Centralize gated ViewConfig processor attributes into exported constants in `ReactNativeStyleAttributes.js`. This is a pure refactor — no new behavior. When `enableNativeCSSParsing()` is on, the JS processor is bypassed and the raw value is sent directly to native.

Exported attributes: `colorAttribute`, `filterAttribute`, `boxShadowAttribute`, `backgroundImageAttribute`, `backgroundSizeAttribute`, `backgroundPositionAttribute`, `backgroundRepeatAttribute`.

All ViewConfig files now import these constants instead of inlining `{process: require(...)}` or feature flag checks.

Changelog: [Internal]

Differential Revision: D94052734
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Feb 23, 2026
facebook#55674)

Summary:

Centralize gated ViewConfig processor attributes into exported constants in `ReactNativeStyleAttributes.js`. This is a pure refactor — no new behavior. When `enableNativeCSSParsing()` is on, the JS processor is bypassed and the raw value is sent directly to native.

Exported attributes: `colorAttribute`, `filterAttribute`, `boxShadowAttribute`, `backgroundImageAttribute`, `backgroundSizeAttribute`, `backgroundPositionAttribute`, `backgroundRepeatAttribute`.

All ViewConfig files now import these constants instead of inlining `{process: require(...)}` or feature flag checks.

Changelog: [Internal]

Differential Revision: D94052734
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Feb 23, 2026
facebook#55674)

Summary:

Centralize gated ViewConfig processor attributes into exported constants in `ReactNativeStyleAttributes.js`. This is a pure refactor — no new behavior. When `enableNativeCSSParsing()` is on, the JS processor is bypassed and the raw value is sent directly to native.

Exported attributes: `colorAttribute`, `filterAttribute`, `boxShadowAttribute`, `backgroundImageAttribute`, `backgroundSizeAttribute`, `backgroundPositionAttribute`, `backgroundRepeatAttribute`.

All ViewConfig files now import these constants instead of inlining `{process: require(...)}` or feature flag checks.

Changelog: [Internal]

Differential Revision: D94052734
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Feb 23, 2026
facebook#55674)

Summary:

Centralize gated ViewConfig processor attributes into exported constants in `ReactNativeStyleAttributes.js`. This is a pure refactor — no new behavior. When `enableNativeCSSParsing()` is on, the JS processor is bypassed and the raw value is sent directly to native.

Exported attributes: `colorAttribute`, `filterAttribute`, `boxShadowAttribute`, `backgroundImageAttribute`, `backgroundSizeAttribute`, `backgroundPositionAttribute`, `backgroundRepeatAttribute`.

All ViewConfig files now import these constants instead of inlining `{process: require(...)}` or feature flag checks.

Changelog: [Internal]

Differential Revision: D94052734
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Feb 24, 2026
facebook#55674)

Summary:

Centralize gated ViewConfig processor attributes into exported constants in `ReactNativeStyleAttributes.js`. This is a pure refactor — no new behavior. When `enableNativeCSSParsing()` is on, the JS processor is bypassed and the raw value is sent directly to native.

Exported attributes: `colorAttribute`, `filterAttribute`, `boxShadowAttribute`, `backgroundImageAttribute`, `backgroundSizeAttribute`, `backgroundPositionAttribute`, `backgroundRepeatAttribute`.

All ViewConfig files now import these constants instead of inlining `{process: require(...)}` or feature flag checks.

Changelog: [Internal]

Reviewed By: jorge-cab

Differential Revision: D94052734
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Feb 24, 2026
facebook#55674)

Summary:

Centralize gated ViewConfig processor attributes into exported constants in `ReactNativeStyleAttributes.js`. This is a pure refactor — no new behavior. When `enableNativeCSSParsing()` is on, the JS processor is bypassed and the raw value is sent directly to native.

Exported attributes: `colorAttribute`, `filterAttribute`, `boxShadowAttribute`, `backgroundImageAttribute`, `backgroundSizeAttribute`, `backgroundPositionAttribute`, `backgroundRepeatAttribute`.

All ViewConfig files now import these constants instead of inlining `{process: require(...)}` or feature flag checks.

Changelog: [Internal]

Reviewed By: jorge-cab

Differential Revision: D94052734
facebook#55674)

Summary:

Centralize gated ViewConfig processor attributes into exported constants in `ReactNativeStyleAttributes.js`. This is a pure refactor — no new behavior. When `enableNativeCSSParsing()` is on, the JS processor is bypassed and the raw value is sent directly to native.

Exported attributes: `colorAttribute`, `filterAttribute`, `boxShadowAttribute`, `backgroundImageAttribute`, `backgroundSizeAttribute`, `backgroundPositionAttribute`, `backgroundRepeatAttribute`.

All ViewConfig files now import these constants instead of inlining `{process: require(...)}` or feature flag checks.

Changelog: [Internal]

Reviewed By: jorge-cab

Differential Revision: D94052734
@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @NickGerleman in a04904c

When will my fix make it into a release? | How to file a pick request?

@react-native-bot react-native-bot added the Merged This PR has been merged. label Feb 24, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Feb 24, 2026

This pull request has been merged in a04904c.

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. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants