Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

FYI, we recommend that most folks should not write promise management, data fetching, or loading status tracking code directly

If you're using just React, use React Query or something like `react-async`.

If you're using Redux, use the "RTK Query" data fetching and caching API in our official Redux Toolkit package:

- https://redux.js.org/usage/side-effects-approaches



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: