Skip to content

Extend from React.Component (instead of React.PureComponent) #41

Closed
@petermikitsh

Description

@petermikitsh

Are you submitting a bug report or a feature request?

Eh, this feels kind of somewhere in the middle.

What is the current behavior?

FieldArray extends React.PureComponent.

What is the expected behavior?

FieldArray extends React.Component.

Sandbox Link

N/A

What's your environment?

N/A

Other information

For the reasons discussed in final-form/react-final-form#150, I'd like to see parity across all react-final-form* packages.

The tl,dr: I have external state I feed into my FieldArray render component. I also have to explicitly pass this state to FieldArray as a prop, so the component re-renders.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions