Skip to content

BaseFieldGroup: unintentional re-render of FormContext consumers due to changed subContext object reference. #82

Description

@dinony

BaseFieldGroup creates a new object in the render method, which updates FormContext consumers every time.

const p = {x: 2, y: 3}

Object.is({...p}, {...p})
// false

More infos in the Context API.

Maybe issue 57 also relates to this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FieldGroupIssues regarding FieldGroupsbugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions