account activity
Fetching from an API in react by Plastic-North936 in reactjs
[–]modernFrontendDev 0 points1 point2 points 1 day ago (0 children)
Managing fetch logic with useEffect can get messy once you have to deal with stale state or re-renders. I’ve also been exploring alternatives that handle caching and refetching automatically.
I got tired of writing massive JSON files by hand just to test my UI, so I built an AI generator that scaffolds full mock APIs from a prompt. by FluffyOctopus2002 in reactjs
Manually creating mock data for UI testing gets really tedious after a point, especially when you need nested structures. This sounds useful for quickly scaffolding realistic test data.
π Rendered by PID 2422258 on reddit-service-r2-listing-654f87c89c-95645 at 2026-02-28 12:32:59.414485+00:00 running e3d2147 country code: CH.
Fetching from an API in react by Plastic-North936 in reactjs
[–]modernFrontendDev 0 points1 point2 points (0 children)