Skip to content

Investigate mapStateToArrayLayoutProps and mapStateToArrayControlProps usage #1637

Open
@AlexandraBuzila

Description

@AlexandraBuzila

There are two types of props for array types: ArrayLayoutProps and ArrayControlProps. At a first glance, one of them seems redundant.

mapStateToArrayLayoutProps has some extra handling of the validation errors to easier display them in the UI and mapStateToArrayControlProps passes the renderers and cells from the ownProps if they are available (the fact that this is missing from mapStateToArrayLayoutProps is probably a bug).

We should investigate if we can merge the two types of props into one and clean up the code.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions