arrow_backBACK TO DRILLS
Blue Beltcustom-hooks
Extracting Effects into custom Hooks
“A component contains several repetitive data-fetching useEffect blocks with similar logic but different URLs. What is the main React-specific advantage of extracting that logic into a useData(url) custom Hook?”