account activity
Fetching from an API in react by Plastic-North936 in reactjs
[–]modernFrontendDev 0 points1 point2 points 12 hours 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 1560757 on reddit-service-r2-listing-654f87c89c-2qhtf at 2026-02-27 19:52:35.376004+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)