promise/prefer-await-to-then
Performance
Error
Use async/await style for managing concurrency instead of .then()
The Codiga Static Analysis engine checks JavaScript code and supports many popular libraries. If you are using React, NextJS, Vue or Angular: the engine will flag any issue in your codebase. Automate your code reviews with Codiga and merge with confidence.
Use async/await style for managing concurrency instead of .then()