this setstate is undefined inside a async function in js

Solutions on MaxInterview for this setstate is undefined inside a async function in js by the best coders in the world