|
|
|
|
|
by alvarlagerlof
977 days ago
|
|
I've tried plain fetch + useEffect + useState. It's very easy to mess up the implementation. For example you have to think about what happens if the useEffect triggers again while it is already fetching. For reasons like that, react-query is totally worth it to me. |
|