Skip to content

Add ArrayFieldBase component#11191

Merged
fzaninotto merged 3 commits intomasterfrom
array-field-base
Mar 17, 2026
Merged

Add ArrayFieldBase component#11191
fzaninotto merged 3 commits intomasterfrom
array-field-base

Conversation

@WiXSL
Copy link
Collaborator

@WiXSL WiXSL commented Mar 16, 2026

Additional Checks

  • The PR targets master for a bugfix or a documentation fix, or next for a feature
  • The documentation is up to date


ArrayFieldImpl.displayName = 'ArrayFieldImpl';

export const ArrayField = genericMemo(ArrayFieldImpl);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arrayfieldbase already uses useGenericMemo - you're wrapping it twice!

I think you only need to alias the base component

export const ArrayField = ArrayFieldBase

@fzaninotto fzaninotto changed the title Introduce ArrayFieldBase in ra-core Add ArrayFieldBase component Mar 16, 2026
@fzaninotto fzaninotto merged commit 297599d into master Mar 17, 2026
15 checks passed
@fzaninotto fzaninotto deleted the array-field-base branch March 17, 2026 12:57
@fzaninotto fzaninotto added this to the 5.14.5 milestone Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RFR Ready For Review

Development

Successfully merging this pull request may close these issues.

3 participants