DEV Community

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

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 💪

alexandrudanpop profile image
Alexandru-Dan Pop Author • Edited on

Glad I could be of help, mate!