You can use defualt state with pending string and then after resolve you can change state with resolve and in catch section set state with reject !
If you mean state in React 😂
I am a Software Engineer, currently working on both web application development and mobile application development. Learning new things and sharing those with fellow developers!
You can use defualt state with pending string and then after resolve you can change state with resolve and in catch section set state with reject !
If you mean state in React 😂
Correct