
❌ Wrong → Swallowing Errors function useRepos() { return useQuery({ queryKey: ['repos'], queryFn: async () => { try { const response = await fetch('/api/repos') if (!response.ok) throw new Error('Failed') retur...
Obsessed with crafting software.
Just a guy who loves to write code and watch anime.
Markdown supported · ⌘↵ to post
No responses yet.