---
title: "Blogs World (@blogs-world) | Hashnode"
description: "Beyond the code, a story. Read the latest articles by Blogs World on Hashnode."
url: "https://hashnode.com/@blogs-world"
---

@blogs-world

# Blogs World

@blogs-world · Joined May 2025

Beyond the code, a story

[Website](https://www.blogs-world.in/)

### [Your Callback Printed 3, 3, 3: JavaScript Closures Capture the Variable, Not the Value](https://ankitkhoiwal.hashnode.dev/your-callback-printed-3-3-3-javascript-closures-capture-the-variable-not-the-value?utm_source=hashnode&utm_medium=feed)

This loop is supposed to log 0, 1, 2: const out = \[\]; for (var i = 0; i < 3; i++) setTimeout(() => out.push(i), 0); // later: out is \[3, 3, 3\] Swap var for let and you get \[0, 1, 2\]. Most explanation

5 min read · [ankitkhoiwal.hashnode.dev](https://ankitkhoiwal.hashnode.dev/your-callback-printed-3-3-3-javascript-closures-capture-the-variable-not-the-value?utm_source=hashnode&utm_medium=feed)

[4d ago](https://hashnode.com/posts/your-callback-printed-3-3-3-javascript-closures-capture-the-variable-not-the-value/6af69f883b0e67b41bf677e7)

### [A Second \`interface Config\` in Another File Just Changed Your Type: TypeScript Declaration Merging, Tested](https://ankitkhoiwal.hashnode.dev/a-second-interface-config-in-another-file-just-changed-your-type-typescript-declaration-merging-tested?utm_source=hashnode&utm_medium=feed)

Here's a bug that looks impossible at first. settings.ts compiles on its own: // settings.ts interface Config { apiUrl: string } const cfg: Config = { apiUrl: "/api" }; Then someone adds an unrelated

5 min read · [ankitkhoiwal.hashnode.dev](https://ankitkhoiwal.hashnode.dev/a-second-interface-config-in-another-file-just-changed-your-type-typescript-declaration-merging-tested?utm_source=hashnode&utm_medium=feed)

[Nov 9](https://hashnode.com/posts/a-second-interface-config-in-another-file-just-changed-your-type-typescript-declaration-merging-tested/6af159d79c7abce20a963afc)

### [Your useEffect Keeps Re-Running: Find the Dependency That Changed in 10 Lines](https://ankitkhoiwal.hashnode.dev/your-useeffect-keeps-re-running-find-the-dependency-that-changed-in-10-lines?utm_source=hashnode&utm_medium=feed)

Stop guessing which value broke the loop. Log the exact dependency that changed, then apply the one fix that matches it

5 min read · [ankitkhoiwal.hashnode.dev](https://ankitkhoiwal.hashnode.dev/your-useeffect-keeps-re-running-find-the-dependency-that-changed-in-10-lines?utm_source=hashnode&utm_medium=feed)

[Nov 2](https://hashnode.com/posts/your-useeffect-keeps-re-running-find-the-dependency-that-changed-in-10-lines/6ae81fb0f3009898ddffbfc3)

### [Metro Is "Running" but the App Never Loads: A curl-First Triage for React Native](https://ankitkhoiwal.hashnode.dev/metro-is-running-but-the-app-never-loads-a-curl-first-triage-for-react-native?utm_source=hashnode&utm_medium=feed)

Before you reach for --reset-cache, find out whether the bundle request is stuck in the server, the network, or the dependency graph

5 min read · [ankitkhoiwal.hashnode.dev](https://ankitkhoiwal.hashnode.dev/metro-is-running-but-the-app-never-loads-a-curl-first-triage-for-react-native?utm_source=hashnode&utm_medium=feed)

[Oct 27](https://hashnode.com/posts/metro-is-running-but-the-app-never-loads-a-curl-first-triage-for-react-native/6ae037225ca58cbcd49412ba)

### [Supabase RLS Returns \[\] Instead of an Error: 6 Policy Mistakes Behind "Missing" Rows](https://ankitkhoiwal.hashnode.dev/supabase-rls-returns-instead-of-an-error-6-policy-mistakes-behind-missing-rows?utm_source=hashnode&utm_medium=feed)

Why your query works in the SQL editor, returns an empty array from the client, and how to test policies as a real user

8 min read · [ankitkhoiwal.hashnode.dev](https://ankitkhoiwal.hashnode.dev/supabase-rls-returns-instead-of-an-error-6-policy-mistakes-behind-missing-rows?utm_source=hashnode&utm_medium=feed)

[Oct 14](https://hashnode.com/posts/supabase-rls-returns-instead-of-an-error-6-policy-mistakes-behind-missing-rows/6acf1281c581fd49a5e16177)
