erikras/react-redux-promise-listener

Provide hook

Opened this issue · 0 comments

What is the current behavior?

Right now the only way to create an async function is to use the component.

What is the expected behavior?

A hook that allows us to create an async function.

Sandbox Link

https://codesandbox.io/s/react-final-form-async-redux-submission-hook-i5646?file=/src/useAsyncFunction.js