
TL;DR Ensure to use 'useState()' to store the values retrieved from API, and 'await' or '.then' to make the actual API call with help of async. If you are new to React then understanding the working of Promise and Async can be a little tricky. Let'...
FullStack developer
Developer, trying to understand, learn and teach better.
Markdown supported · ⌘↵ to post
No responses yet.