DEV Community

Discussion on: I promise this hook will blow your 1000+ lines of Async code

Collapse
 
ochrstn profile image
ochrstn

Take a look at react-query. It is a superpower version of your useAsync hook.

Collapse
 
harshkc profile image
Harsh Choudhary

Yeah basically it made so that you can easily migrate to react-query, but still I believe there are lot of cases when you don't want to use react query, this will help and maintain that consistency.