Feb 15 · 3 min read · When working with APIs in JavaScript, fetch() is one of the most commonly used Web APIs to make HTTP requests. Let’s break it down step by step 👇 1️⃣ Basic Syntax of fetch() fetch(url, options); ParameterTypeRequiredDescription urlstring✅ Ye...
Join discussion
Jan 13 · 2 min read · ________________________________________________ What’s Fetch Fetch is a built-in JavaScript function used to make network requests. It is the action of going to an API's URL to retrieve information and bringing it back to your code. ________________...
Join discussion
Dec 31, 2025 · 3 min read · 시작하기 전에 API 요청을 위해 fetch 함수를 사용하다가 네트워크 응답으로 **“body must be object”**라는 에러를 마주치게 되었다. 예전에 axios를 사용했을 때는 몰랐는데, fetch를 사용할 때는 header 옵션을 직접 설정해줘야 한다는 것을 알게 됐고, fetch는 왜 수동으로 직렬화 해야하며, axios는 왜 직접 설정할 필요가 없는지 코드 분석을 통해 비교해보고자 글을 쓰려고 한다. 자바스크립트 객체는 네트워...
Join discussion
Dec 26, 2025 · 4 min read · The async / await syntax is a cleaner way to work with Promises.It does not replace Promises—it makes them easier to read and reason about. Important:fetch() is still promise-based.async / await just lets you write asynchronous code that looks synch...
Join discussionDec 21, 2025 · 3 min read · Modern web applications constantly communicate with servers. They fetch: user data posts products weather information JavaScript provides a built-in way to do this using the Fetch API. In this article, you’ll learn: what fetch is how it works...
Join discussionDec 9, 2025 · 5 min read · In modern development, building a dynamic application that displays real-time data is no longer optional. As a React developer, one of the most crucial skills you need to learn is fetching data from an API, the framework already provides a straightfo...
Join discussion
Dec 6, 2025 · 6 min read · The Fetch API is one of the most powerful features in modern JavaScript. Whether you're building websites, dashboards, or backend services, understanding fetch deeply will make you a far more effective developer. What is Fetch? Fetch in JS is a Promi...
Join discussionNov 9, 2025 · 5 min read · Fetching data is one of the most important parts of any React project, whether you’re displaying users, products, or images from an API. In this 4-part mini-series, we’ll explore four key ways to fetch data in React from the most basic to the more ad...
Join discussion
Nov 7, 2025 · 3 min read · SWR is one of the coolest ways to fetch data in React. The name stands for Stale While Revalidate, which describes its strategy — it returns cached (stale) data first, then revalidates it by fetching fresh data in the background. It’s both a strategy...
Join discussion