Skip to content

promise from useAsync not behaving as expected #250

Open
@peterlenagh

Description

@peterlenagh

Hi!

I'm trying to use react-async with redux-form.

Redux form wants the submit fn to return a promise.

I've tried using run & promise from useAsync but I can't get it to work, am I missing something?

minimal example:

https://codesandbox.io/embed/redux-form-react-async-submissionerror-example-91vcf

Thanks for your time!

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