HTML AttributesHTML attributes are name–value pairs written inside the opening tag of an HTML element. They provide extra information or modify the behavior of that element. [!Example] <input type="file" multiple accept=".pdf"> Here: type multiple accept ...Feb 5, 2026·4 min read
How .includes() is used in JSJavaScript method, used in : Checking if an array contains something Checking if a string contains a substring Conditionally rendering UI based on that Syntax of .includes() For arrays array.includes(valueToFind, fromIndex); valueToFind → what...Nov 13, 2025·2 min read
🧩 Understanding ParsingAlthough it’s not a big topic, I revisited “parsing” — something I thought I knew but didn’t fully understand until I wrote this.Nov 7, 2025·2 min read
Remix useRevalidator(): Trigger a loader refresh on demandIn Remix, the useRevalidator() hook is used to manually refresh your loader data — without reloading the entire page. Why we even need useRevalidator() Normally, Remix automatically re-runs the loader for you in many cases —but not always.There are ...Oct 6, 2025·2 min read
Understanding the "useNavigation" Hook in React Router👉 useNavigation is not a React core hook.It comes from React Router v6.4+ (the data APIs release). If you’ve seen it in docs or projects, it’s related to navigation state handling in React Router, not plain React. 🔎 What is useNavigation? useNavig...Aug 30, 2025·2 min read
🔎 Understanding .filter(Boolean) in JavaScript🔹 What is Boolean? Boolean is a built-in JavaScript function that converts any value into either: true ✅ (if the value is truthy) false ❌ (if the value is falsy) It basically answers: “Is this value truthy or falsy?” Examples: Boolean(1); ...Aug 26, 2025·2 min read
📌 Remix: Loader + Action + UI Update (Flow)1. Loader Runs on GET requests. Provides data to the component through useLoaderData(). 2. Action Runs on POST/PUT/DELETE/PATCH. Handles mutations (form submissions, API calls). Returns response (redirect, data, or error). 🔄 Internal Flow ...Aug 25, 2025·1 min read