© 2026 Hashnode
Dalam pengembangan web modern, interaksi asinkron menggunakan fetch API adalah hal yang lumrah. Namun, sering kali kita menghadapi skenario di mana sebuah request yang sedang berjalan perlu dibatalkan—misalnya, pengguna pindah ke halaman lain, menget...

Have you ever started something and then realized you didn’t need to finish it? Maybe you ordered a pizza but changed your mind and made maggi instead. Wouldn’t it be nice if you could call the delivery guy and say:“Stop! I don’t need that pizza anym...

Building a social media feed seems straightforward—until you actually build one. As a Frontend Developer at Zappit.ai, I recently completed work on our Social Media Intelligence feed that shows users posts from their competitors and aspirational bran...

Hey there! Today, I want to share a little journey I recently had while working with APIs in Next.js. If you’ve ever found yourself tangled up in API calls, especially when building a web app, you’ll know how important it is to manage those calls eff...

Introduction Have you ever encountered a situation while building an app using JavaScirpt, that you need to cancel or stop an HTTP request prematurely? This can be for several reasons, one would be to stop processing any fetched data that is old and ...

Table of Contents Introduction Problem with Example Code Solution with Example Code Benefits Conclusion Introduction The useEffect hook is one of the most powerful hooks in React. It allows us to perform side effects in functional components, ...
