DEV Community

Discussion on: Correctly handling async/await in React components - Part 2

Collapse
 
navicsteinr profile image
Navicstein Rotciv

Well done, ive been struggling how to appropriately handle async storage because the Ajax request will already send the nulled token before the DB is resolved, but this saved my day, thanks 💪

Collapse
 
alexandrudanpop profile image
Alexandru-Dan Pop • Edited

Glad I could be of help, mate!