react-use-fun (npm): provides a synchronized function that is able to access actual states even when calling from an asynchronous function
Keywords: react|hook|callback|async|states