Since hooks officially landed in React, I’ve been working on creating abstractions to manage the common task of loading and updating data from an API.
Today I’m releasing use-async-call, freely available under MIT license
This hook is has been battle tested at d1g1t Inc., and has lead to a reduction in boilerplate and fixed some difficult corner-case bugs around lifecycle management.
Top comments (0)