Debug Dungeon
Welcome to the Debug Dungeon! 🐛 Test your debugging skills by spotting bugs in real-world code examples. Each challenge includes helpful hints and a detailed solution. Perfect for sharpening your coding detective skills! 🕵️♀️
How it works:
🐛
Find the Bug
Study the code and spot what's wrong
Use Hints
Stuck? Expand hints for guidance
✅
Check Solution
See the fix and learn why it works
🔴hard
TypeScript/ReactTanStack Query: Cache Invalidation Mismatch
Cache Invalidation
Your mutation succeeds, the toast shows up, but the UI stays stale. You call invalidateQueries, the cache is there... but nothing happens. Turns out React Router params and database IDs don't play nice together.
1/13/2026
Start debugging →🟡medium
React/IonicThe IonRouterOutlet Redirect Bug
Router Navigation
A subtle navigation bug where URL changes but the page stays the same in Ionic React apps. Can you spot why the redirect doesn't work as expected?
12/19/2024
Start debugging →