DEV Community

Discussion on: 5 Ways to Fetch API Data in React.js

Collapse
meatboy profile image
Meat Boy • Edited on

I would recommend to avoid no 4 and 5 - „little duplication is better than dependency”. Using external lib for trivial tasks doesn’t make your code more readable. Clean code is not about amount of code but rather about readability.