Skip to content

Upgrade react-final-form to v5: Remove use of WithReactFinalForm #77

@jermspeaks

Description

@jermspeaks

Are you submitting a bug report or a feature request?

Feature Request: Upgrade react-final-form to v5.

Deprecated in v5

The previously exported withReactFinalForm HOC has been removed. Now you should use the useForm() hook if you'd like to get the 🏁 Final Form instance out of the context.

What is the current behavior?

react-final-form-arrays cannot be used with v5 of react-final-form. Must downgrade to v4 until library is updated.

What is the expected behavior?

Ability to use react-final-form-arrays with upgrade to new v5 react-final-form library.

Sandbox Link

What's your environment?

n/a - for all environments

Other information

Breaking change would mean react-final-form-array also needs a breaking change version bump.

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