-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
A Hook that takes a Promise, and 2 callbacks for success, and error, and return a handler to execute the promise.
const [actionHandler, loading, {data, error}] =
useAction(promiseFunction, (data)=> {}, (error)=> {}, {renderOnStart:true/false, callOnEffect:true/false});Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels