Skip to content

allow explicitly picking which props to render in React components #2600

@KoolADE85

Description

@KoolADE85

Throughout our React components, we use ramda.omit to filter out props that we wish to exclude from being rendered.
We should invert this by using ramda.pick to include the props that we do wish to render.

This will prevent us from accidentally sending props to be rendered in HTML.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogfeaturesomething new

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions