---
title: "#defer articles | Hashnode"
description: "Explore 22 articles tagged #defer on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/defer"
---

Tag

# #defer

22 posts · 0 followers

[Zahid Hasan Emran](https://hashnode.com/@zahid-hasan-emran) · [Apr 12](https://hashnode.com/posts/async-and-defer-execution-order/69dbe805aadf1107e219effc)

### [Async and Defer Execution Order](https://zdev.hashnode.dev/async-and-defer-execution-order?utm_source=hashnode&utm_medium=feed)

Before we deep dive, we need to know some differences. 1. The Main Thread is "Busy," Not necessarily "Blocked" Parsing HTML is the primary job of the main thread when a page first loads. While the bro

5 min read · [zdev.hashnode.dev](https://zdev.hashnode.dev/async-and-defer-execution-order?utm_source=hashnode&utm_medium=feed)

[Sourabh Pande](https://hashnode.com/@saurabhpande) · [Mar 23](https://hashnode.com/posts/speeding-up-script-loading-async-defer-and-how-html-parsing-behaves/69c0e2aad9da55a9a54a1dea)

### [Speeding Up Script Loading: Async, Defer — and How HTML Parsing Behaves](https://saurabh532.hashnode.dev/speeding-up-script-loading-async-defer-and-how-html-parsing-behaves?utm_source=hashnode&utm_medium=feed)

How a small script tag can pause a whole page — and how to avoid it.

6 min read · [saurabh532.hashnode.dev](https://saurabh532.hashnode.dev/speeding-up-script-loading-async-defer-and-how-html-parsing-behaves?utm_source=hashnode&utm_medium=feed)

[Gyeongtae Kim](https://hashnode.com/@dasae) · [Mar 17](https://hashnode.com/posts/zero-cost-defer-in-c/69ccbc80b504c4ed0a2a2e9a)

### [Zero-Cost defer in C: A Compiler Optimization Odyssey](https://dasae-scenic-route.hashnode.dev/zero-cost-defer-in-c?utm_source=hashnode&utm_medium=feed)

Shows how a Duff's device, two compilers, and a hidden LLVM flag turned a C macro 'defer' into a zero-cost abstraction, with benchmarks.

62 min read · [dasae-scenic-route.hashnode.dev](https://dasae-scenic-route.hashnode.dev/zero-cost-defer-in-c?utm_source=hashnode&utm_medium=feed)

[Jimmex04](https://hashnode.com/@jimmex) · [Feb 16](https://hashnode.com/posts/10th-break-functions-in-go/6992b292bc7e3956fefa2f85)

### [10th Break: Functions in GO](https://jimmexploit.hashnode.dev/10th-break-functions-in-go?utm_source=hashnode&utm_medium=feed)

anonymous functions, closures, functions as parameters, defer

9 min read · [jimmexploit.hashnode.dev](https://jimmexploit.hashnode.dev/10th-break-functions-in-go?utm_source=hashnode&utm_medium=feed)

[Madankumar](https://hashnode.com/@madankumar-sajjanar) · [Dec 15, 2025](https://hashnode.com/posts/async-vs-defer-in-javascript-how-script-loading-really-works/693f8d1af9a8c45810747a29)

### [async vs defer in JavaScript: How Script Loading Really Works](https://javascript-beginner-articles.hashnode.dev/async-vs-defer-in-javascript-how-script-loading-really-works?utm_source=hashnode&utm_medium=feed)

How Script Loading Really Works If you’ve ever added JavaScript to an HTML page, you’ve probably written something like this: <script src="script.js"></script> But modern JavaScript gives you two powerful attributes: async defer They change how ...

4 min read · [javascript-beginner-articles.hashnode.dev](https://javascript-beginner-articles.hashnode.dev/async-vs-defer-in-javascript-how-script-loading-really-works?utm_source=hashnode&utm_medium=feed)

[manoj ymk](https://hashnode.com/@manoj-ymk) · [Apr 12, 2025](https://hashnode.com/posts/lesson-3-the-script-tag-external-scripts-and-browser-execution-deep-dive/67fa2fb7584cfdc4ece4d74c)

### [Lesson 3: The <script> Tag, External Scripts & Browser Execution with challenges!](https://javascript-day-1.hashnode.dev/lesson-3-the-script-tag-external-scripts-and-browser-execution-deep-dive?utm_source=hashnode&utm_medium=feed)

🔸 What’s the <script> tag? The <script> tag tells the browser: ➡️ "Hey! Here's some JavaScript. Run it!" You can put it: Inline, directly inside HTML Externally, loaded from a .js file Modify execution with async or defer ✅ Example 1: Inline S...

6 min read · [javascript-day-1.hashnode.dev](https://javascript-day-1.hashnode.dev/lesson-3-the-script-tag-external-scripts-and-browser-execution-deep-dive?utm_source=hashnode&utm_medium=feed)

[Jamie Barlow](https://hashnode.com/@jamiebarlow) · [Sep 28, 2024](https://hashnode.com/posts/route-level-suspense-with-react-router/66f85195be4d67c86c57d9eb)

### [Route-level Suspense with React Router](https://jamiebarlow-blog.vercel.app/route-level-suspense-with-react-router?utm_source=hashnode&utm_medium=feed)

Using defer and Await to handle loading states

9 min read · [jamiebarlow-blog.vercel.app](https://jamiebarlow-blog.vercel.app/route-level-suspense-with-react-router?utm_source=hashnode&utm_medium=feed)

[Sahil Rathod](https://hashnode.com/@Sahil17) · [Aug 23, 2024](https://hashnode.com/posts/switch-and-defer-statements/66c838e9c81b12cceb31dd2d)

### [Switch and defer statements](https://operationsguy.hashnode.dev/switch-and-defer-statements?utm_source=hashnode&utm_medium=feed)

This blog explains the basics of switch and defer statements in Golang.

3 min read · [operationsguy.hashnode.dev](https://operationsguy.hashnode.dev/switch-and-defer-statements?utm_source=hashnode&utm_medium=feed)

[jugesh raghav](https://hashnode.com/@JugeshRaghav) · [Jun 10, 2024](https://hashnode.com/posts/async-vs-defer/6667283e175328fadfb9cecb)

### [Async vs Defer](https://jugeshraghav.hashnode.dev/async-vs-defer?utm_source=hashnode&utm_medium=feed)

The Script Loading Showdown in Frontend Development

3 min read · [jugeshraghav.hashnode.dev](https://jugeshraghav.hashnode.dev/async-vs-defer?utm_source=hashnode&utm_medium=feed)

[Dhruv Vashist](https://hashnode.com/@DvbyDt) · [May 28, 2024](https://hashnode.com/posts/async-defer-the-dynamic-duo-of-javascript-loading/66559e5d8778a98c55404a9d)

### [Async & Defer: The Dynamic Duo of JavaScript Loading](https://dvbydt.hashnode.dev/async-defer-the-dynamic-duo-of-javascript-loading?utm_source=hashnode&utm_medium=feed)

Use async and defer attributes to optimize JavaScript loading, enhancing webpage performance. Learn their best use cases for optimal results

3 min read · [dvbydt.hashnode.dev](https://dvbydt.hashnode.dev/async-defer-the-dynamic-duo-of-javascript-loading?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/async-defer-the-dynamic-duo-of-javascript-loading/66559e5d8778a98c55404a9d)
