<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" 
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>FrontendGeek - Frontend Interview Preparation Blogs</title>
    <link>https://www.frontendgeek.com</link>
    <description>Byte-Sized Frontend Interview focused Blogs &amp; Notes for Ultimate Frontend Interview Preparation. Stay updated with the latest articles on JavaScript, React, System Design, Machine Coding, and more.</description>
    <language>en-us</language>
    <lastBuildDate>Mon, 09 Mar 2026 02:01:35 GMT</lastBuildDate>
    <pubDate>Mon, 09 Mar 2026 02:01:35 GMT</pubDate>
    <ttl>60</ttl>
    <atom:link href="https://www.frontendgeek.com/feed.xml" rel="self" type="application/rss+xml" />
    <image>
      <url>https://i.imgur.com/H9DVwn0.png</url>
      <title>FrontendGeek</title>
      <link>https://www.frontendgeek.com</link>
    </image>
    <copyright>Copyright 2026 FrontendGeek. All rights reserved.</copyright>
    <managingEditor>contact@frontendgeek.com (FrontendGeek Team)</managingEditor>
    <webMaster>contact@frontendgeek.com (FrontendGeek Team)</webMaster>
    <category>Technology</category>
    <category>Programming</category>
    <category>Frontend Development</category>
    <category>Interview Preparation</category>

    <item>
      <title>Mastering React Rendering: How memo and useCallback Eliminate Unnecessary Re-renders</title>
      <link>https://www.frontendgeek.com/blogs/mastering-react-rendering-how-memo-and-usecallback-eliminate-unnecessary-re-renders</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/mastering-react-rendering-how-memo-and-usecallback-eliminate-unnecessary-re-renders</guid>
      <description>React&apos;s rendering is powerful but can become a performance bottleneck in larger apps. Every state change triggers re-renders across your component tree—sometimes unnecessarily. Enter React.memo and useCallback: your optimization superheroes that prevent wasted renders and keep your app snappy.</description>
      <content:encoded><![CDATA[
        <p>React&apos;s rendering is powerful but can become a performance bottleneck in larger apps. Every state change triggers re-renders across your component tree—sometimes unnecessarily. Enter React.memo and useCallback: your optimization superheroes that prevent wasted renders and keep your app snappy.</p>
        <p>The Problem: Uncontrolled Re-rendering Cascade
Imagine a simple Todo app. When you type in the input field, everything re-renders&amp;mdash;even components that haven&apos;t changed. Here&apos;s why:
Without optimization (problematic version):





// Parent Component - WITHOUT memo/useCallback
function Todo() {
  const [newTodo, setNewTodo] = React.useState(&quot;&quot;);
  const [todos, setTodos] = React.useState([]);

  // ❌ These functions get recreated on EVERY render
  const handleInputChange = (e) =&gt; setNewTodo(...</p>
        <p><a href="https://www.frontendgeek.com/blogs/mastering-react-rendering-how-memo-and-usecallback-eliminate-unnecessary-re-renders">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Sat, 31 Jan 2026 21:17:41 GMT</pubDate>
      <lastBuildDate>Wed, 04 Feb 2026 17:50:02 GMT</lastBuildDate>
      <author>Prateek Labroo</author>
      <category>React JS</category>
      <dc:creator>Prateek Labroo</dc:creator>
    </item>
    <item>
      <title>Boost Your Site Speed with CSS Sprites: A Practical Guide</title>
      <link>https://www.frontendgeek.com/blogs/boost-your-site-speed-with-css-sprites-a-practical-guide</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/boost-your-site-speed-with-css-sprites-a-practical-guide</guid>
      <description>Master CSS sprites to slash HTTP requests, supercharge load times, and optimize icons—practical guide with code, tools, and 2026 best practices.</description>
      <content:encoded><![CDATA[
        <p>Master CSS sprites to slash HTTP requests, supercharge load times, and optimize icons—practical guide with code, tools, and 2026 best practices.</p>
        <p>Why CSS Sprites Still Matter in Modern Web Development?
CSS sprites combine multiple small images into one file, slashing HTTP requests and boosting load times&amp;mdash;crucial even with HTTP/3. This technique shines for icons, buttons, and repetitive graphics on mobile or low-bandwidth sites.
What Are CSS Sprites?
CSS sprites pack icons or images into a single &quot;sprite sheet,&quot; then use background-position to display just the needed section. Born in the early 2000s for dial-up era optimization, they...</p>
        <p><a href="https://www.frontendgeek.com/blogs/boost-your-site-speed-with-css-sprites-a-practical-guide">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Sun, 25 Jan 2026 18:47:34 GMT</pubDate>
      <lastBuildDate>Wed, 28 Jan 2026 19:48:34 GMT</lastBuildDate>
      <author>Vaibhav Kumar</author>
      <category>UI Technologies</category>
      <dc:creator>Vaibhav Kumar</dc:creator>
    </item>
    <item>
      <title>How to convert RGB to HEX in JavaScript</title>
      <link>https://www.frontendgeek.com/blogs/how-to-convert-rgb-to-hex-in-javascript</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/how-to-convert-rgb-to-hex-in-javascript</guid>
      <description>A quick way to convert RGB to HEX in JavaScript that will help to do the CSS RGB to HEX color conversion programmatically</description>
      <content:encoded><![CDATA[
        <p>A quick way to convert RGB to HEX in JavaScript that will help to do the CSS RGB to HEX color conversion programmatically</p>
        <p>Converting RGB (Red, Green, Blue) colors to hexadecimal format is a common task in web development. Hexadecimal color codes are widely used, especially in web design and CSS.
In this article, we will explore how efficiently we can convert CSS RGB to HEX values programmatically using JavaScript.
Understand RGB and HEX Color Codes
RGB (Red, Green, Blue) and HEX are two common codes to represent colors in web development.
RGB Color Codes
RGB color codes use a combination of red, green, and blue val...</p>
        <p><a href="https://www.frontendgeek.com/blogs/how-to-convert-rgb-to-hex-in-javascript">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Wed, 17 Dec 2025 12:02:58 GMT</pubDate>
      <lastBuildDate>Wed, 17 Dec 2025 14:13:30 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>Javascript</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>How to convert HEX to RGB in JavaScript</title>
      <link>https://www.frontendgeek.com/blogs/how-to-convert-hex-to-rgb-in-javascript</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/how-to-convert-hex-to-rgb-in-javascript</guid>
      <description>A quick way to convert HEX to RGB in JavaScript that will help to do the CSS HEX to RGB color conversion programmatically.</description>
      <content:encoded><![CDATA[
        <p>A quick way to convert HEX to RGB in JavaScript that will help to do the CSS HEX to RGB color conversion programmatically.</p>
        <p>When working with colors in web development, you may come across the need to convert HEX colors to RGB format. While HEX colors are commonly used in CSS, manipulating colors programmatically requires converting them to RGB or RGBA
In this blog, we&apos;ll explore how to convert HEX to RGB in JavaScript programmatically.
Understanding HEX and RGB Colors
Before diving into the conversion process, let&apos;s quickly understand what HEX and RGB colors represent:
HEX Color - HEX colors are represented as a six...</p>
        <p><a href="https://www.frontendgeek.com/blogs/how-to-convert-hex-to-rgb-in-javascript">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Wed, 17 Dec 2025 11:40:36 GMT</pubDate>
      <lastBuildDate>Wed, 17 Dec 2025 14:10:57 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>Javascript</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Master Closures in JavaScript with 5 practical examples</title>
      <link>https://www.frontendgeek.com/blogs/master-closures-in-javascript-with-practical-examples</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/master-closures-in-javascript-with-practical-examples</guid>
      <description>Explore the 5 practical examples to understand closures in JavaScript that can help to use closures in the application confidently.</description>
      <content:encoded><![CDATA[
        <p>Explore the 5 practical examples to understand closures in JavaScript that can help to use closures in the application confidently.</p>
        <p>Understanding closures in JavaScript is crucial for frontend developers as they play a significant role in how functions work and interact with variables. This is one of the confusing topics with so many applications in different contexts.
In this blog post, we will explore 5 practical examples to help you grasp the concept of Closures in JS and use them confidently in your applications.
What are Closures in JavaScript?
In JavaScript, a closure is a combination of a function bundled together wit...</p>
        <p><a href="https://www.frontendgeek.com/blogs/master-closures-in-javascript-with-practical-examples">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Thu, 27 Nov 2025 11:03:30 GMT</pubDate>
      <lastBuildDate>Tue, 17 Feb 2026 16:21:25 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>Javascript</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>React useCopyToClipboard Hook: Explanation &amp; Usage</title>
      <link>https://www.frontendgeek.com/blogs/react-usecopytoclipboard-hook-explanation-usage</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/react-usecopytoclipboard-hook-explanation-usage</guid>
      <description>Explained the step-by-step implementation and usage of custom useCopyToClipboard Hook to manage the interaction with the clipboard in react app.</description>
      <content:encoded><![CDATA[
        <p>Explained the step-by-step implementation and usage of custom useCopyToClipboard Hook to manage the interaction with the clipboard in react app.</p>
        <p>Managing interactions with the clipboard is a common requirement in web applications. In React, we can achieve this functionality using custom hooks.
In this blog post, we will explore the implementation and usage of the useCopyToClipboard hook in a React application.
Approach for useCopyToClipboard Hook
The useCopyToClipboard hook is a custom React hook that simplifies copying text to the clipboard. This hook abstracts the process of working with the Clipboard API and provides an easy-to-use in...</p>
        <p><a href="https://www.frontendgeek.com/blogs/react-usecopytoclipboard-hook-explanation-usage">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Wed, 26 Nov 2025 19:17:29 GMT</pubDate>
      <lastBuildDate>Tue, 13 Jan 2026 17:52:32 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>React JS</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>How to create custom useInfiniteScroll Hook in React</title>
      <link>https://www.frontendgeek.com/blogs/how-to-create-custom-useinfinitescroll-hook-in-react</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/how-to-create-custom-useinfinitescroll-hook-in-react</guid>
      <description>Learn how to implement useInfiniteScroll hook in react to handle long list of items efficiently using intersection observer internally.</description>
      <content:encoded><![CDATA[
        <p>Learn how to implement useInfiniteScroll hook in react to handle long list of items efficiently using intersection observer internally.</p>
        <p>Infinite scrolling is a popular technique used in web development to load content continuously as the user scrolls down a page. Implementing infinite scrolling efficiently can greatly improve user experience and performance.
In this blog post, we will explore how to create a custom useInfiniteScroll hook in React using Intersection Observer.
Implementation of useInfiniteScroll hook
const useInfiniteScroll = (callback) =&gt; {
    const observer = new IntersectionObserver((entries) =&gt; {
        if (...</p>
        <p><a href="https://www.frontendgeek.com/blogs/how-to-create-custom-useinfinitescroll-hook-in-react">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Thu, 20 Nov 2025 21:26:31 GMT</pubDate>
      <lastBuildDate>Thu, 27 Nov 2025 18:46:53 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>React JS</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Implement useDocumentTitle Hook in React (Interview)</title>
      <link>https://www.frontendgeek.com/blogs/implement-usedocumenttitle-hook-in-react-interview</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/implement-usedocumenttitle-hook-in-react-interview</guid>
      <description>Learn how to implement the simple useDocumentTitle hook in react to update the document title of any web page.</description>
      <content:encoded><![CDATA[
        <p>Learn how to implement the simple useDocumentTitle hook in react to update the document title of any web page.</p>
        <p>As hooks are now become the essential part of the react application, learning react hooks is must and useDocumentTitle hook can be your starting point of learning react hooks.
In React applications, dynamically changing the title of a web page can enhance user experience and provide context to the user. One real-life scenario is updating the document title dynamically based on the content being displayed for the products in e-commerce application.
In this blog post, we will explore how to create...</p>
        <p><a href="https://www.frontendgeek.com/blogs/implement-usedocumenttitle-hook-in-react-interview">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Thu, 20 Nov 2025 21:19:34 GMT</pubDate>
      <lastBuildDate>Tue, 23 Dec 2025 18:24:48 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>React JS</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Implement useWindowSize Hook in React (Interview)</title>
      <link>https://www.frontendgeek.com/blogs/implement-usewindowsize-hook-in-react-interview</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/implement-usewindowsize-hook-in-react-interview</guid>
      <description>Explore the step by step implementation of useWindowSize hook in react which can help to know the window size to make responsive apps.</description>
      <content:encoded><![CDATA[
        <p>Explore the step by step implementation of useWindowSize hook in react which can help to know the window size to make responsive apps.</p>
        <p>In React applications, creating responsive designs is important to provide a seamless user experience across various devices. In responsive design implementation, one common requirement is to know the size of the browser window to adapt the UI accordingly.
In this blog post, we&apos;ll delve into implementing a custom useWindowSize hook in React to dynamically track the window size changes.
Implementation of useWindowSize() hook
Let&apos;s start implementing custom hook named useWindowSize that will track...</p>
        <p><a href="https://www.frontendgeek.com/blogs/implement-usewindowsize-hook-in-react-interview">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Thu, 20 Nov 2025 21:11:10 GMT</pubDate>
      <lastBuildDate>Fri, 06 Feb 2026 05:49:12 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>React JS</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Implement usePrevious Hook in React [Interview]</title>
      <link>https://www.frontendgeek.com/blogs/implement-useprevious-hook-in-react-interview</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/implement-useprevious-hook-in-react-interview</guid>
      <description>Understand the implementation and usage of usePrevious Hook in React to help tracking previous value in react app.</description>
      <content:encoded><![CDATA[
        <p>Understand the implementation and usage of usePrevious Hook in React to help tracking previous value in react app.</p>
        <p>While developing react applications, sometimes you need to keep track of the previous value of a state or a prop to perform certain actions or comparisons.
The usePrevious custom hook in React allows you to store the previous value of a state or a prop to be accessed in subsequent renders.
React does not provide a built-in way to track the previous value, so this hook is extremely useful in real-world apps and comes up often in interviews.
Implementation of usePrevious Hook
Let&apos;s create the useP...</p>
        <p><a href="https://www.frontendgeek.com/blogs/implement-useprevious-hook-in-react-interview">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Mon, 17 Nov 2025 15:50:42 GMT</pubDate>
      <lastBuildDate>Tue, 23 Dec 2025 18:18:12 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>React JS</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Implement useClickOutside() custom Hook in React [Interview]</title>
      <link>https://www.frontendgeek.com/blogs/implement-useclickoutside-custom-hook-in-react-interview</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/implement-useclickoutside-custom-hook-in-react-interview</guid>
      <description>Understand the implementation of useClickOutside() custom hook in react and how it can be used to implement Modal like functionality.</description>
      <content:encoded><![CDATA[
        <p>Understand the implementation of useClickOutside() custom hook in react and how it can be used to implement Modal like functionality.</p>
        <p>Detecting click outside a specific element is one of the common use-cases in the react development, and this functionality can be simplified using a reusable useClickOutside custom hook in react.
In this blog, we will go through the useClickOutside hook implementation and its real-life use-case.
Implementation of useClickOutside Custom Hook
Let&apos;s quickly jump into the implementation of react useClickOutside hook that detects clicks outside a specified element.
 import { useEffect } from &apos;react&apos;;...</p>
        <p><a href="https://www.frontendgeek.com/blogs/implement-useclickoutside-custom-hook-in-react-interview">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Sat, 15 Nov 2025 09:47:35 GMT</pubDate>
      <lastBuildDate>Tue, 23 Dec 2025 18:21:12 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>React JS</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Implement useThrottle Custom Hook In React (Interview)</title>
      <link>https://www.frontendgeek.com/blogs/implement-usethrottle-custom-hook-in-react-interview</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/implement-usethrottle-custom-hook-in-react-interview</guid>
      <description>Implement useThrottle Custom Hook In React (Interview) to limit the number of APi calls to improve the performance of application.</description>
      <content:encoded><![CDATA[
        <p>Implement useThrottle Custom Hook In React (Interview) to limit the number of APi calls to improve the performance of application.</p>
        <p>In frontend Interviews and development, react performance optimization is one of the important ask when dealing with user input events like typing, scrolling, etc. In this case Throttling can help to improve the performance 
In this blog post, we will explore how to implement a custom useThrottle hook in React, which can be handy in scenarios where you want to control the rate of execution of a function.
Implementation of useThrottle custom hook in React
Before jumping to the implementation, let...</p>
        <p><a href="https://www.frontendgeek.com/blogs/implement-usethrottle-custom-hook-in-react-interview">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Fri, 14 Nov 2025 21:54:43 GMT</pubDate>
      <lastBuildDate>Tue, 23 Dec 2025 19:37:34 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>React JS</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Implement useDebounce Custom Hook in React (Interview)</title>
      <link>https://www.frontendgeek.com/blogs/implement-usedebounce-custom-hook-in-react-interview</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/implement-usedebounce-custom-hook-in-react-interview</guid>
      <description>Learn how to implement useDebouce() custom hook in react to improve the performance of the application by minimizing the API calls.</description>
      <content:encoded><![CDATA[
        <p>Learn how to implement useDebouce() custom hook in react to improve the performance of the application by minimizing the API calls.</p>
        <p>In frontend development, optimizing performance is crucial to ensure a smooth user experience. One most common performance optimization technique is debouncing, which delays the execution of a function until a certain amount of time has passed without additional calls.
In this blog, will understand the implementation of useDebounce() custom hook in react
Let&apos;s quickly understand the Debouncing?
Debouncing is a process where a function call is delayed until after a specified time interval has ela...</p>
        <p><a href="https://www.frontendgeek.com/blogs/implement-usedebounce-custom-hook-in-react-interview">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Fri, 14 Nov 2025 21:41:56 GMT</pubDate>
      <lastBuildDate>Tue, 23 Dec 2025 18:15:08 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>React JS</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Flatten Nested Array in JavaScript using Recursion</title>
      <link>https://www.frontendgeek.com/blogs/flatten-nested-array-in-javascript-using-recursion</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/flatten-nested-array-in-javascript-using-recursion</guid>
      <description>Understand step by step how to flatten nested array in javascript using recursion, also explore the flatten of complex array of object.</description>
      <content:encoded><![CDATA[
        <p>Understand step by step how to flatten nested array in javascript using recursion, also explore the flatten of complex array of object.</p>
        <p>Nested array are quite commonly used in the javascript for data manipulations, and that&apos;s why we often need to Flatten nested array in javascript for processing purpose.
Flattening a nested array involves converting a multi-dimensional array into a single-dimensional array by extracting all elements and combining them into one array.
In this blog post, we will explore how to flatten nested arrays using recursion. We will also cover the ways to handle complex arrays of objects and flattening them...</p>
        <p><a href="https://www.frontendgeek.com/blogs/flatten-nested-array-in-javascript-using-recursion">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Tue, 11 Nov 2025 19:33:52 GMT</pubDate>
      <lastBuildDate>Sat, 21 Feb 2026 05:25:20 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>Javascript</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Implement useSessionStorage() Custom Hook in React [Interview]</title>
      <link>https://www.frontendgeek.com/blogs/implement-usesessionstorage-custom-hook-in-react-interview</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/implement-usesessionstorage-custom-hook-in-react-interview</guid>
      <description>Understand the code implementation of useSessionStorage custom hook in react that will help to efficiently manager session storage in application.</description>
      <content:encoded><![CDATA[
        <p>Understand the code implementation of useSessionStorage custom hook in react that will help to efficiently manager session storage in application.</p>
        <p>useLocalStorage and useSessionStorage is most widely used custom hooks to simplify the interaction with localStorage and sessionStorage at the application level and provide a clean way for interaction.
In this blog, Let&apos;s understand the implementation code of useSessionStorage custom hook in react.
How to Approach
While exploring the approach, its important to know that useSessionStorage custom hook in react will internally going to use the window.sessionStorage object only, and convert the obje...</p>
        <p><a href="https://www.frontendgeek.com/blogs/implement-usesessionstorage-custom-hook-in-react-interview">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Mon, 10 Nov 2025 18:29:54 GMT</pubDate>
      <lastBuildDate>Sat, 15 Nov 2025 11:59:35 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>React JS</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Implement useLocalStorage() Custom Hook in React [Interview]</title>
      <link>https://www.frontendgeek.com/blogs/implement-uselocalstorage-custom-hook-in-react-interview</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/implement-uselocalstorage-custom-hook-in-react-interview</guid>
      <description>Explore the code implementation of useLocalStorage custom hook in react which helps to manage the access of local storage in react application.</description>
      <content:encoded><![CDATA[
        <p>Explore the code implementation of useLocalStorage custom hook in react which helps to manage the access of local storage in react application.</p>
        <p>In this blog post, we will go through the implementation and usage of useLocalStorage custom hook in React, specifically focusing on managing local storage.
The useLocalStorage custom hook will allow us to easily store and retrieve data from the browser&apos;s local storage, providing a convenient way to persist data across sessions in a React application.
Implementation of useLocalStorage Custom Hook
Let&apos;s start creating useLocalStorage custom hook, which will abstract the logic for interacting with...</p>
        <p><a href="https://www.frontendgeek.com/blogs/implement-uselocalstorage-custom-hook-in-react-interview">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Mon, 10 Nov 2025 03:46:26 GMT</pubDate>
      <lastBuildDate>Sat, 21 Feb 2026 05:27:05 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>React JS</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Implement useTheme() Custom Hook in React (Interview)</title>
      <link>https://www.frontendgeek.com/blogs/implement-usetheme-custom-hook-in-react-interview</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/implement-usetheme-custom-hook-in-react-interview</guid>
      <description>Explore implementation of most asked useTheme custom hook in react to handle the theme of the application.</description>
      <content:encoded><![CDATA[
        <p>Explore implementation of most asked useTheme custom hook in react to handle the theme of the application.</p>
        <p>Nowadays theming is an essential part of the most web application that allowing users to customize the appearance of an application according to their preferences. This is one the important functional implementation when it comes to frontend development.
In this blog post, we will dive into implementing the useTheme() custom hook in React, a commonly discussed topic in frontend interviews as well.
Implementation of useTheme() custom hook
Before jumping into the useTheme() implementation, its imp...</p>
        <p><a href="https://www.frontendgeek.com/blogs/implement-usetheme-custom-hook-in-react-interview">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Sat, 08 Nov 2025 17:58:59 GMT</pubDate>
      <lastBuildDate>Sat, 21 Feb 2026 05:29:32 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>React JS</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Implement useToggle() Custom Hook in React (Interview)</title>
      <link>https://www.frontendgeek.com/blogs/implement-usetoggle-custom-hook-in-react-interview</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/implement-usetoggle-custom-hook-in-react-interview</guid>
      <description>Explore code explanation of useToggle() custom hook in react to handle the toggle event efficiently.</description>
      <content:encoded><![CDATA[
        <p>Explore code explanation of useToggle() custom hook in react to handle the toggle event efficiently.</p>
        <p>Custom hooks in React are a powerful way to reuse stateful logic across multiple components, and helps to write clean code that is extensible and easily testable.
In this blog post, we will implement a useToggle() custom hook in react to efficiently handle toggle functionality in React applications. This custom hook will help in toggling between states in different components like accordion and modal.
Implementation of useToggle() Custom Hook
Let&apos;s start by creating the useToggle() custom hook....</p>
        <p><a href="https://www.frontendgeek.com/blogs/implement-usetoggle-custom-hook-in-react-interview">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Sat, 08 Nov 2025 17:33:09 GMT</pubDate>
      <lastBuildDate>Sat, 21 Feb 2026 05:30:44 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>React JS</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>20 Most Asked Custom Hooks In React for Interviews</title>
      <link>https://www.frontendgeek.com/blogs/20-most-asked-custom-hooks-in-react-for-interviews</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/20-most-asked-custom-hooks-in-react-for-interviews</guid>
      <description>Explore the Most Common Custom Hooks in React asked in the React Interviews. It includes the code example of all the custom hooks in react for a quick revision before interview.</description>
      <content:encoded><![CDATA[
        <p>Explore the Most Common Custom Hooks in React asked in the React Interviews. It includes the code example of all the custom hooks in react for a quick revision before interview.</p>
        <p>Custom hooks improve the overall reusability in the react application and reduce down the boilerplate code. Understanding custom hooks are so important that Nowadays Custom Hooks in React are one of the most asked React Interviews questions.
Any number of custom hooks can be make as per the requirement, so to help you out we have captured the 20 most asked Custom Hooks in React with code implementation for quick revision before your frontend interview
Table of content

useFetch() Hook
useToggle(...</p>
        <p><a href="https://www.frontendgeek.com/blogs/20-most-asked-custom-hooks-in-react-for-interviews">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Sun, 02 Nov 2025 10:48:10 GMT</pubDate>
      <lastBuildDate>Tue, 13 Jan 2026 18:30:39 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>React JS</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>React Hook Rules: Why hooks declarations are not allowed inside functions</title>
      <link>https://www.frontendgeek.com/blogs/react-hook-rules-why-hooks-declarations-are-not-allowed-inside-functions</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/react-hook-rules-why-hooks-declarations-are-not-allowed-inside-functions</guid>
      <description>A quick guide to explain an important react interview question, why React Hooks declarations are not allowed inside functions or any conditional blocks with code example.</description>
      <content:encoded><![CDATA[
        <p>A quick guide to explain an important react interview question, why React Hooks declarations are not allowed inside functions or any conditional blocks with code example.</p>
        <p>A Quick Explanation
Because React relies on the order of Hook calls to correctly associate state and effects with their respective components.If you call Hooks conditionally or inside nested functions, that order can change between renders &amp;mdash; and React would lose track of which state belongs to which Hook.
Code Explanation
React uses an internal array (or linked list) to keep track of Hooks for each component.For example, when your component renders:
function MyComponent() {
  const [count,...</p>
        <p><a href="https://www.frontendgeek.com/blogs/react-hook-rules-why-hooks-declarations-are-not-allowed-inside-functions">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Thu, 30 Oct 2025 05:15:51 GMT</pubDate>
      <lastBuildDate>Fri, 06 Feb 2026 05:50:55 GMT</lastBuildDate>
      <author>Frontendgeek</author>
      <category>React JS</category>
      <dc:creator>Frontendgeek</dc:creator>
    </item>
    <item>
      <title>Implement useFetch() Custom Hook in React (Interview)</title>
      <link>https://www.frontendgeek.com/blogs/implement-usefetch-custom-hook-in-react-interview</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/implement-usefetch-custom-hook-in-react-interview</guid>
      <description>Find the step-by-step explanation of the useFetch custom hook in React that helps in fetching the data from an API and handling loading, error states.</description>
      <content:encoded><![CDATA[
        <p>Find the step-by-step explanation of the useFetch custom hook in React that helps in fetching the data from an API and handling loading, error states.</p>
        <p>Implement useFetch() Custom Hook in React
Learn how to create a custom hook in React, useFetch, that simplifies data fetching from APIs and manages loading and error states efficiently.
Step 1: Define the useFetch Hook
import React, { useState, useEffect } from &apos;react&apos;;

const useFetch = (url) =&gt; {
  const [data, setData] = useState(null);
  const [loading, setLoading] = useState(true);
  const [error, setError] = useState(null);

  useEffect(() =&gt; {
    const fetchData = async () =&gt; {
      try...</p>
        <p><a href="https://www.frontendgeek.com/blogs/implement-usefetch-custom-hook-in-react-interview">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Sun, 19 Oct 2025 17:32:16 GMT</pubDate>
      <lastBuildDate>Sat, 21 Feb 2026 05:33:44 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>React JS</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Top 10 React Performance Optimization Techniques [React Interview]</title>
      <link>https://www.frontendgeek.com/blogs/top-10-react-performance-optimization-techniques-react-interview</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/top-10-react-performance-optimization-techniques-react-interview</guid>
      <description>Find the top React Performance Optimization Techniques specific to React applications that help to make your react app faster and more responsive for the users along with some bonus techniques.</description>
      <content:encoded><![CDATA[
        <p>Find the top React Performance Optimization Techniques specific to React applications that help to make your react app faster and more responsive for the users along with some bonus techniques.</p>
        <p>Performance optimization of a react application is necessary while building any react application, there are many performance optimization techniques exist to improve performance using the JavaScript, CSS or network optimization side, but in this post we primarily focused on the performance optimization techniques which we can use specific to React codebase and patterns. Let&apos;s checkout these top 10 and bonus React performance optimization techniques
Table of content

Memoization using Rect.memo(...</p>
        <p><a href="https://www.frontendgeek.com/blogs/top-10-react-performance-optimization-techniques-react-interview">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Sun, 19 Oct 2025 17:27:21 GMT</pubDate>
      <lastBuildDate>Sat, 21 Feb 2026 05:31:41 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>React JS</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Flatten nested object in JavaScript using recursion [JavaScript Interview]</title>
      <link>https://www.frontendgeek.com/blogs/flatten-nested-object-in-javascript-using-recursion-javascript-interview</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/flatten-nested-object-in-javascript-using-recursion-javascript-interview</guid>
      <description>Understand flattening nested objects in JavaScript using a recursive approach, which includes the recursive code, how to approach a recursive solution and a step-by-step explanation.</description>
      <content:encoded><![CDATA[
        <p>Understand flattening nested objects in JavaScript using a recursive approach, which includes the recursive code, how to approach a recursive solution and a step-by-step explanation.</p>
        <p>When working with nested objects in JavaScript, there might be scenarios where you need to flatten the object to a single level to perform other operations on that flattened object.
In this blog post, we will explore how to flatten a nested object using a recursive approach. We will cover the recursive code, how to approach and provide step-by-step explanations.
Flatten nested object in JavaScript using recursion
Let&apos;s explore flattening nested objects in JavaScript using a recursive approach, a...</p>
        <p><a href="https://www.frontendgeek.com/blogs/flatten-nested-object-in-javascript-using-recursion-javascript-interview">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Sat, 11 Oct 2025 19:03:34 GMT</pubDate>
      <lastBuildDate>Sat, 21 Feb 2026 05:36:40 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>Javascript</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Implement Infinite Currying Multiplication in JavaScript: mul(2)(3)(4)</title>
      <link>https://www.frontendgeek.com/blogs/implement-infinite-currying-multiplication-in-javascript-mul234</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/implement-infinite-currying-multiplication-in-javascript-mul234</guid>
      <description>Understand the step-by-step implementation of Infinite Currying Multiplication in JavaScript with a code example.</description>
      <content:encoded><![CDATA[
        <p>Understand the step-by-step implementation of Infinite Currying Multiplication in JavaScript with a code example.</p>
        <p>Currying in JavaScript provides a way to implement partial functions in JavaScript, and one of the use cases is to implement Infinite currying in JavaScript to calculate multiplication using partial functions, such as mul(2)(3)(4). This is one of the most common JavaScript interview questions.
Implementing Infinite Currying Multiplication in JavaScript
Let&apos;s implement a function that performs infinite multiplication using currying. The function should be able to take any number of arguments and...</p>
        <p><a href="https://www.frontendgeek.com/blogs/implement-infinite-currying-multiplication-in-javascript-mul234">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Fri, 10 Oct 2025 21:11:48 GMT</pubDate>
      <lastBuildDate>Sat, 21 Feb 2026 05:40:40 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>Javascript</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Implement Infinite Currying Sum: JavaScript Interview Question sum(1)(2)(3)</title>
      <link>https://www.frontendgeek.com/blogs/implement-infinite-currying-sum-javascript-interview-question-sum123</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/implement-infinite-currying-sum-javascript-interview-question-sum123</guid>
      <description>In this post, we will going to cover the step-by-step implementation of Infinite Currying Sum with a code example. This is one of the most common JavaScript Interview questions.</description>
      <content:encoded><![CDATA[
        <p>In this post, we will going to cover the step-by-step implementation of Infinite Currying Sum with a code example. This is one of the most common JavaScript Interview questions.</p>
        <p>Infinite currying sum and multiplication are one of the best examples to check the understanding of currying and its implementation to generate partial functions. In this post, we will going to cover the infinite currying sum implementation.
Table of Contents

Implementing Infinite Currying Sum
Real-world example

Implementing Infinite Currying Sum
Let&apos;s start by implementing a function that can take any number of arguments and return the sum of all those arguments. We will use currying to achie...</p>
        <p><a href="https://www.frontendgeek.com/blogs/implement-infinite-currying-sum-javascript-interview-question-sum123">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Fri, 10 Oct 2025 21:03:25 GMT</pubDate>
      <lastBuildDate>Sat, 21 Feb 2026 05:43:28 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>Javascript</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title> Shallow Copy and Deep Copy in JavaScript - Object Cloning</title>
      <link>https://www.frontendgeek.com/blogs/shallow-copy-and-deep-copy-in-javascript---object-cloning</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/shallow-copy-and-deep-copy-in-javascript---object-cloning</guid>
      <description>Understand Shallow copy and Deep copy in JavaScript with detailed examples, and what is the difference between shallow copy vs deep copy in JavaScript.</description>
      <content:encoded><![CDATA[
        <p>Understand Shallow copy and Deep copy in JavaScript with detailed examples, and what is the difference between shallow copy vs deep copy in JavaScript.</p>
        <p>When working with objects and arrays in JavaScript, you&amp;rsquo;ll often need to copy or clone data but not all copies are same, thats where understanding Shallow Copy and Deep Copy in JavaScript helps.
In frontend interviews, this is a common topic because understanding how data is referenced in memory helps you debug unexpected behaviour in your web application.In this post, Let&amp;rsquo;s learns Shallow copy and Deep copy in detail.
Table of Contents

Basic of Shallow Copy and Deep Copy
Understand...</p>
        <p><a href="https://www.frontendgeek.com/blogs/shallow-copy-and-deep-copy-in-javascript---object-cloning">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Sun, 05 Oct 2025 12:29:13 GMT</pubDate>
      <lastBuildDate>Sat, 21 Feb 2026 05:45:20 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>Javascript</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Polyfill for Async Await in JavaScript - Step by Step Explanation</title>
      <link>https://www.frontendgeek.com/blogs/polyfill-for-async-await-in-javascript---step-by-step-explanation</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/polyfill-for-async-await-in-javascript---step-by-step-explanation</guid>
      <description>Understand polyfill for Async Await in JavaScript with a step-by-step explanation. This helps in understanding the internal functioning of Async Await in JavaScript.</description>
      <content:encoded><![CDATA[
        <p>Understand polyfill for Async Await in JavaScript with a step-by-step explanation. This helps in understanding the internal functioning of Async Await in JavaScript.</p>
        <p>Async Await in JavaScript provides a simple way to handle async operations synchronously. This removes the issues that come with callback hell while using promises to handle async operations in JavaScript. This is one of the most commonly asked questions to the senior devs to evaluate their in-depth understanding.
Understanding a polyfill for Async Await (the common approach is generator + Promise) is a great way to show deep knowledge of the event loop, Promise resolution, error propagation, an...</p>
        <p><a href="https://www.frontendgeek.com/blogs/polyfill-for-async-await-in-javascript---step-by-step-explanation">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Sat, 04 Oct 2025 17:24:20 GMT</pubDate>
      <lastBuildDate>Sat, 21 Feb 2026 05:46:36 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>Javascript</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Polyfill for map, filter, and reduce in JavaScript</title>
      <link>https://www.frontendgeek.com/blogs/polyfill-for-map-filter-and-reduce-in-javascript</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/polyfill-for-map-filter-and-reduce-in-javascript</guid>
      <description>Explore Polyfill for map, filter and reduce array methods in JavaScript. A detailed explanation of Map, filter and reduce polyfills in JS helps you to know the internal working of these array methods.</description>
      <content:encoded><![CDATA[
        <p>Explore Polyfill for map, filter and reduce array methods in JavaScript. A detailed explanation of Map, filter and reduce polyfills in JS helps you to know the internal working of these array methods.</p>
        <p>If you are preparing for frontend interviews, knowing how to write polyfills is extremely helpful. Interviewers often ask you to re-create commonly used methods like map, filter, and reduce. These questions test not only your JavaScript skills but also how well you understand the prototype chain and higher-order functions.
Table of Contents

Polyfill for map, filter, and reduce in JavaScript
map polyfill in JavaScript

Understand the map array method in JavaScript
Expected map method behaviour
M...</p>
        <p><a href="https://www.frontendgeek.com/blogs/polyfill-for-map-filter-and-reduce-in-javascript">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Thu, 02 Oct 2025 17:04:47 GMT</pubDate>
      <lastBuildDate>Sat, 21 Feb 2026 05:48:46 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>Javascript</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>How does JWT (JSON Web Token) Authentication work - Pros &amp; Cons</title>
      <link>https://www.frontendgeek.com/blogs/how-does-jwt-json-web-token-authentication-work---pros-cons</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/how-does-jwt-json-web-token-authentication-work---pros-cons</guid>
      <description>Understand the JWT(JSON Web Token) and how JWT decode works. It also covers how the end-to-end JWT authentication works between client &amp; server, along with the pros and cons of using JWT.</description>
      <content:encoded><![CDATA[
        <p>Understand the JWT(JSON Web Token) and how JWT decode works. It also covers how the end-to-end JWT authentication works between client &amp; server, along with the pros and cons of using JWT.</p>
        <p>JWT(JSON Web Token) is currently becoming the standard of web authorization, where the token(JWT) carries all the required information along with the token and on the server, the information is decoded by the server using a key.
In this post, we will learn about JWT Token, its structure and pros-cons, so that you can use JWT token for authorization confidently 
What is JWT(JSON Web Token)?
A JSON Web Token (JWT) is a compact, URL-safe way of securely transmitting information between client and s...</p>
        <p><a href="https://www.frontendgeek.com/blogs/how-does-jwt-json-web-token-authentication-work---pros-cons">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Mon, 22 Sep 2025 12:26:54 GMT</pubDate>
      <lastBuildDate>Fri, 06 Feb 2026 05:28:01 GMT</lastBuildDate>
      <author>Frontendgeek</author>
      <category>UI Technologies</category>
      <dc:creator>Frontendgeek</dc:creator>
    </item>
    <item>
      <title>Hoisting in JavaScript Explained with Examples</title>
      <link>https://www.frontendgeek.com/blogs/hoisting-in-javascript-explained-with-examples</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/hoisting-in-javascript-explained-with-examples</guid>
      <description>Learn hoisting in JavaScript with clear examples and explanations. Understand variable hoisting in JavaScript, function hoisting in JavaScript, and how the temporal dead zone affects hoisting in JS.</description>
      <content:encoded><![CDATA[
        <p>Learn hoisting in JavaScript with clear examples and explanations. Understand variable hoisting in JavaScript, function hoisting in JavaScript, and how the temporal dead zone affects hoisting in JS.</p>
        <p>If you&apos;re preparing for frontend interviews, understanding Hoisting in JavaScript is a must. It&apos;s one of those concepts that seems simple at first glance but can trip you up during coding rounds or real-world debugging. In this blog, we&amp;rsquo;ll break down hoisting in JavaScript in an easy-to-understand way, with examples and explanations that make sense even if you&apos;re just getting started.
Let&apos;s deep dive into what it is, how it works internally, and how different types of variables and functio...</p>
        <p><a href="https://www.frontendgeek.com/blogs/hoisting-in-javascript-explained-with-examples">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Sun, 14 Sep 2025 09:45:15 GMT</pubDate>
      <lastBuildDate>Sat, 21 Feb 2026 05:49:38 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>Javascript</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Call, apply, and bind in JavaScript: Examples &amp; Polyfills</title>
      <link>https://www.frontendgeek.com/blogs/call-apply-and-bind-in-javascript-examples-polyfills</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/call-apply-and-bind-in-javascript-examples-polyfills</guid>
      <description>A beginner-friendly guide to understanding call, apply, and bind methods in JavaScript, along with step-by-step call, apply and bind polyfill implementations that are often asked in interviews.</description>
      <content:encoded><![CDATA[
        <p>A beginner-friendly guide to understanding call, apply, and bind methods in JavaScript, along with step-by-step call, apply and bind polyfill implementations that are often asked in interviews.</p>
        <p>In this article, I&amp;rsquo;ll be explaining the call, apply &amp; bind methods &amp; how to write their polyfills. These three polyfills are very commonly asked questions in a JavaScript interview.
Table of Contents

Understand Call method in JavaScript
Understand Apply method in JavaScript
Understand Bind method in JavaScript
Polyfill of call, apply and bind in JavaScript

Call polyfill in JavaScript
Apply polyfill in JavaScript
Bind polyfill in JavaScript





Let&amp;rsquo;s get started with an example to...</p>
        <p><a href="https://www.frontendgeek.com/blogs/call-apply-and-bind-in-javascript-examples-polyfills">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Wed, 20 Aug 2025 18:27:25 GMT</pubDate>
      <lastBuildDate>Sat, 21 Feb 2026 05:50:49 GMT</lastBuildDate>
      <author>Kirtesh Bansal</author>
      <category>Javascript</category>
      <dc:creator>Kirtesh Bansal</dc:creator>
    </item>
    <item>
      <title>Understanding popstate event in Single Page Applications (SPAs)</title>
      <link>https://www.frontendgeek.com/blogs/understanding-popstate-event-in-single-page-applications-spas</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/understanding-popstate-event-in-single-page-applications-spas</guid>
      <description>A Quick guide about popstate event in JavaScript, If you’ve ever hit the back button in your browser and wondered how your Single-Page Application knows which view to render, this guide is for you.</description>
      <content:encoded><![CDATA[
        <p>A Quick guide about popstate event in JavaScript, If you’ve ever hit the back button in your browser and wondered how your Single-Page Application knows which view to render, this guide is for you.</p>
        <p>Understanding popstate in Single Page Applications (SPAs)
We&apos;ll demystify the popstate event, explore examples in vanilla JavaScript, and then compare how libraries like React Router handle it under the hood.
The Basics: What is popstate in JavaScript?
The popstate event is fired on the window whenever the active history entry changes. This usually happens when the user clicks Back or Forward in the browser
window.addEventListener(&quot;popstate&quot;, (event) =&gt; {
  console.log(&quot;Location changed to:&quot;, wi...</p>
        <p><a href="https://www.frontendgeek.com/blogs/understanding-popstate-event-in-single-page-applications-spas">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Wed, 20 Aug 2025 07:57:53 GMT</pubDate>
      <lastBuildDate>Sat, 21 Feb 2026 05:56:58 GMT</lastBuildDate>
      <author>Vijay Sai Krishna vsuri</author>
      <category>Javascript</category>
      <dc:creator>Vijay Sai Krishna vsuri</dc:creator>
    </item>
    <item>
      <title>clearInterval Polyfill in JavaScript - Detailed Explanation</title>
      <link>https://www.frontendgeek.com/blogs/clearinterval-polyfill-in-javascript---detailed-explanation</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/clearinterval-polyfill-in-javascript---detailed-explanation</guid>
      <description>Understand the implementation of the clearInterval polyfill in JavaScript with a detailed explanation of each and every step.</description>
      <content:encoded><![CDATA[
        <p>Understand the implementation of the clearInterval polyfill in JavaScript with a detailed explanation of each and every step.</p>
        <p>In this blog, we will focus on building the clearInterval polyfill in JavaScript, which stops a running interval created by our custom setInterval. This not only helps you prepare for interviews but also gives you a deeper understanding of how JavaScript timers work under the hood.
Table of Contents

Understand scenarios to cover as part of clearInterval polyfill
Implementation of clearInterval polyfill in JavaScript

clearInterval polyfill code with example
Explanation of the clearInterval poly...</p>
        <p><a href="https://www.frontendgeek.com/blogs/clearinterval-polyfill-in-javascript---detailed-explanation">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Thu, 31 Jul 2025 03:49:58 GMT</pubDate>
      <lastBuildDate>Sun, 03 Aug 2025 19:23:17 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>Javascript</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>setInterval polyfill in JavaScript - Detailed Explanation</title>
      <link>https://www.frontendgeek.com/blogs/setinterval-polyfill-in-javascript---detailed-explanation</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/setinterval-polyfill-in-javascript---detailed-explanation</guid>
      <description>Understand the implementation of the setInterval polyfill in JavaScript with a detailed explanation of each and every step.</description>
      <content:encoded><![CDATA[
        <p>Understand the implementation of the setInterval polyfill in JavaScript with a detailed explanation of each and every step.</p>
        <p>In frontend interviews, it&amp;rsquo;s common to get questions that test your understanding of JavaScript internals. One such question is to implement the polyfill of setInterval. It helps you understand how browser timers work, how callbacks are scheduled, and how you can build these functionalities using plain JavaScript. This is primarily asked of the experienced frontend folks to evaluate their understanding of the internals.
In this blog, we will learn to implement a setInterval polyfill in Jav...</p>
        <p><a href="https://www.frontendgeek.com/blogs/setinterval-polyfill-in-javascript---detailed-explanation">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Thu, 31 Jul 2025 03:47:52 GMT</pubDate>
      <lastBuildDate>Sun, 03 Aug 2025 19:16:29 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>Javascript</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>clearTimeout polyfill in JavaScript - Detailed Explanation</title>
      <link>https://www.frontendgeek.com/blogs/cleartimeout-polyfill-in-javascript---detailed-explanation</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/cleartimeout-polyfill-in-javascript---detailed-explanation</guid>
      <description>Understand the implementation of the clearTimeout polyfill in JavaScript with a detailed explanation of each and every step.</description>
      <content:encoded><![CDATA[
        <p>Understand the implementation of the clearTimeout polyfill in JavaScript with a detailed explanation of each and every step.</p>
        <p>Frontend interview for experienced folks required to test on the javascript internals and implementation of polyfills are the best way to evaluate the understanding of timers working under the hood. Understanding clearTimeout polyfill in JavaScript are one of those questions to understand the internals.
In this blog, we will focus on implementing a  clearTimeout polyfill. By the end, you will know how to stop a timer created by your own custom setTimeout function.
Table of Contents

Understand s...</p>
        <p><a href="https://www.frontendgeek.com/blogs/cleartimeout-polyfill-in-javascript---detailed-explanation">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Thu, 31 Jul 2025 03:43:48 GMT</pubDate>
      <lastBuildDate>Sun, 03 Aug 2025 19:00:37 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>Javascript</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>setTimeout Polyfill in JavaScript - Detailed Explanation</title>
      <link>https://www.frontendgeek.com/blogs/settimeout-polyfill-in-javascript---detailed-explanation</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/settimeout-polyfill-in-javascript---detailed-explanation</guid>
      <description>Explore the implementation of setTimeout in JavaScript with a detailed explanation for every step. Understand all scenarios expected to implement the setTimeout polyfill.</description>
      <content:encoded><![CDATA[
        <p>Explore the implementation of setTimeout in JavaScript with a detailed explanation for every step. Understand all scenarios expected to implement the setTimeout polyfill.</p>
        <p>setTimeout in JavaScript is a very commonly used function to add a delay in the execution of a callback function, and understanding the internal workings of setTimeout gives a solid understanding of asynchronous JavaScript.
In this post, we will learn how to implement a simple polyfill for setTimeout using JavaScript
Table of Contents

Expected scenarios for setTimeout polyfill
Implementation of setTimeout polyfill in JavaScript

setTimeout polyfill code with example
Explanation of the setTimeou...</p>
        <p><a href="https://www.frontendgeek.com/blogs/settimeout-polyfill-in-javascript---detailed-explanation">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Thu, 31 Jul 2025 03:33:43 GMT</pubDate>
      <lastBuildDate>Sun, 03 Aug 2025 19:14:56 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>Javascript</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Understanding Critical Rendering Path (CRP) to Improve Web Performance</title>
      <link>https://www.frontendgeek.com/blogs/understanding-critical-rendering-path-crp-to-improve-web-performance</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/understanding-critical-rendering-path-crp-to-improve-web-performance</guid>
      <description>Understand what all steps are involved in the Critical Rendering Path (CRP) and how optimization of different steps can improve the overall web-vitals of a web application</description>
      <content:encoded><![CDATA[
        <p>Understand what all steps are involved in the Critical Rendering Path (CRP) and how optimization of different steps can improve the overall web-vitals of a web application</p>
        <p>A fast website is a necessity in the current fast-paced world. It can be achieved by Web Performance optimizations of the web application, and to understand the optimization, you must understand how browsers turn HTML/CSS/JS into rendered pixels. This is where Critical Rendering Path (CRP) comes into play. 
Table of Contents
Jump directly to the topic

What is Critical Rendering Path in a nutshell?
What all steps are executed by browser in the CRP?
How optimizing CRP helps in improving web perfo...</p>
        <p><a href="https://www.frontendgeek.com/blogs/understanding-critical-rendering-path-crp-to-improve-web-performance">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Tue, 15 Jul 2025 13:18:26 GMT</pubDate>
      <lastBuildDate>Fri, 06 Feb 2026 05:29:45 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>UI Technologies</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>20+ Frontend Machine Coding Round Interview Questions</title>
      <link>https://www.frontendgeek.com/blogs/20-frontend-machine-coding-round-interview-questions</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/20-frontend-machine-coding-round-interview-questions</guid>
      <description>A detailed list of 20+ most asked Frontend Machine Coding Round Interview Questions and resources both in JavaScript &amp; React, also covers expected functional/Non-functional requirements.</description>
      <content:encoded><![CDATA[
        <p>A detailed list of 20+ most asked Frontend Machine Coding Round Interview Questions and resources both in JavaScript &amp; React, also covers expected functional/Non-functional requirements.</p>
        <p>Machine Coding Round Interview is one of the most common interview round in frontend interviews to test your hands-on frontend skills. This evaluation happens by giving a real life frontend problem statement to code and execute.
This guide consists of more than 20 Machine Coding Round questions that includes the required functionalities that an Interviewer is looking for while evaluating the machine coding solutions. It will help you to understand the right approach for a machine coding round in...</p>
        <p><a href="https://www.frontendgeek.com/blogs/20-frontend-machine-coding-round-interview-questions">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Fri, 13 Jun 2025 11:06:56 GMT</pubDate>
      <lastBuildDate>Fri, 06 Feb 2026 05:43:10 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>Machine Coding</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Best Cheat Sheet for Frontend Machine Coding Round Interview</title>
      <link>https://www.frontendgeek.com/blogs/best-cheat-sheet-for-frontend-machine-coding-round-interview</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/best-cheat-sheet-for-frontend-machine-coding-round-interview</guid>
      <description>A comprehensive cheat sheet for the Frontend Machine Coding Round Interview, which helps to revise all the important machine coding &amp; UI design concepts before your next Machine Coding interview.</description>
      <content:encoded><![CDATA[
        <p>A comprehensive cheat sheet for the Frontend Machine Coding Round Interview, which helps to revise all the important machine coding &amp; UI design concepts before your next Machine Coding interview.</p>
        <p>Machine coding interviews are a must in all tech companies hiring for frontend/UI roles at any level. There are plenty of machine coding questions out there that can become part of the frontend interview, but the underlying concepts are quite common.
As part of this Frontend Machine Coding Cheat-Sheet, we aim to capture common concepts in a single blog post, so that anyone can revise all the important concepts from a single place.
Let&apos;s jump to the topic 

Search Logic

Search for a text in the...</p>
        <p><a href="https://www.frontendgeek.com/blogs/best-cheat-sheet-for-frontend-machine-coding-round-interview">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Mon, 26 May 2025 18:51:16 GMT</pubDate>
      <lastBuildDate>Fri, 06 Feb 2026 05:44:55 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>Machine Coding</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Part 1: From Zero to Published — How I Built and Published My First React NPM Package</title>
      <link>https://www.frontendgeek.com/blogs/part-1-from-zero-to-published-how-i-built-and-published-my-first-react-npm-package</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/part-1-from-zero-to-published-how-i-built-and-published-my-first-react-npm-package</guid>
      <description>Learn how to build and publish your own NPM package with Rollup, testing, and troubleshooting. Stay tuned for part 2: building a React state management library!







</description>
      <content:encoded><![CDATA[
        <p>Learn how to build and publish your own NPM package with Rollup, testing, and troubleshooting. Stay tuned for part 2: building a React state management library!







</p>
        <p>🧩 Introduction
Recently, I built and published my own npm package &amp;mdash; a minimal state management library for React. It&amp;rsquo;s tiny, fast, supports selectors for optimal re-renders, and works seamlessly with TypeScript.
My goal wasn&apos;t just to create another state library &amp;mdash; I wanted to learn the complete journey of publishing a package to npm, from writing the logic to bundling it properly and finally seeing it live on npmjs.com. I also needed a lightweight state manager for my persona...</p>
        <p><a href="https://www.frontendgeek.com/blogs/part-1-from-zero-to-published-how-i-built-and-published-my-first-react-npm-package">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Mon, 26 May 2025 08:36:06 GMT</pubDate>
      <lastBuildDate>Fri, 06 Feb 2026 05:30:40 GMT</lastBuildDate>
      <author>Akash Deep Chitransh</author>
      <category>UI Technologies</category>
      <dc:creator>Akash Deep Chitransh</dc:creator>
    </item>
    <item>
      <title>Master Hoisting in JavaScript with 5 Examples</title>
      <link>https://www.frontendgeek.com/blogs/master-hoisting-in-javascript-with-5-examples</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/master-hoisting-in-javascript-with-5-examples</guid>
      <description>Code snippet examples which will help to grasp the concept of Hoisting in JavaScript, with solutions to understand how it works behind the scene. </description>
      <content:encoded><![CDATA[
        <p>Code snippet examples which will help to grasp the concept of Hoisting in JavaScript, with solutions to understand how it works behind the scene. </p>
        <p>Understanding hoisting in JavaScript is important to understand how the variables and function scope behave in different scenarios. There are different scenarios where hoisting behaves differently than anticipated, which makes hoisting a favourite topic for Frontend Interviews.
In this post, we have curated 5 examples with detailed explanations which cover important scenarios to understand hoisting in depth. 👇
Jump to the examples

Example 1: Overshadow variable
Example 2: Hoisting with differe...</p>
        <p><a href="https://www.frontendgeek.com/blogs/master-hoisting-in-javascript-with-5-examples">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Mon, 21 Apr 2025 04:12:03 GMT</pubDate>
      <lastBuildDate>Sat, 21 Feb 2026 06:00:22 GMT</lastBuildDate>
      <author>Alok Kumar Giri</author>
      <category>Javascript</category>
      <dc:creator>Alok Kumar Giri</dc:creator>
    </item>
    <item>
      <title>Implementing a stopwatch using React - Frontend Machine Coding Question</title>
      <link>https://www.frontendgeek.com/blogs/implementing-a-stopwatch-using-react---frontend-machine-coding-question</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/implementing-a-stopwatch-using-react---frontend-machine-coding-question</guid>
      <description>Concise explanation of stopwatch implementation using React, it involves the usage of useEffect hook for creating a stopwatch and tracking milliseconds.</description>
      <content:encoded><![CDATA[
        <p>Concise explanation of stopwatch implementation using React, it involves the usage of useEffect hook for creating a stopwatch and tracking milliseconds.</p>
        <p>Stopwatch implementation is one of the most commonly asked Frontend Machine Coding Question, and this machine coding question helps to evaluate the understanding of useEffect hook as part of react application. In this post, we will going to understand the implementation of a stopwatch using React that tracks elapsed time in hours, minutes, and seconds.

Component States &amp; Hooks
It uses the useState hook to manage 2 component states to track time and status. [ millisecond, setMillisecond] state i...</p>
        <p><a href="https://www.frontendgeek.com/blogs/implementing-a-stopwatch-using-react---frontend-machine-coding-question">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Sun, 16 Feb 2025 06:58:26 GMT</pubDate>
      <lastBuildDate>Sat, 21 Feb 2026 05:58:19 GMT</lastBuildDate>
      <author>Pallavi Gupta</author>
      <category>Machine Coding</category>
      <dc:creator>Pallavi Gupta</dc:creator>
    </item>
    <item>
      <title>HTTP/2 vs HTTP/1.1: What&apos;s the Key Difference?</title>
      <link>https://www.frontendgeek.com/blogs/http2-vs-http11-whats-the-key-difference</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/http2-vs-http11-whats-the-key-difference</guid>
      <description>Understand the difference between HTTP/2 vs HTTP/1.1 based on the various parameters, which helps to understand the improvement areas of HTTP/2 over HTTP 1.1</description>
      <content:encoded><![CDATA[
        <p>Understand the difference between HTTP/2 vs HTTP/1.1 based on the various parameters, which helps to understand the improvement areas of HTTP/2 over HTTP 1.1</p>
        <p>Its important to know the latest enhancements in the protocols to take the better decision while choosing between HTTP/2 vs HTTP/1.1. This decision can be based on the functionality (like web sockets doesn&apos;t support HTTP/2) or the server requirements.
Let&apos;s check out the major features of both widely used protocols and the difference between HTTP/2 and HTTP/1.1

Table of contents

HTTP/1.1 Major Features
HTTP/2 Major Features
Major Differences between HTTP/2 vs HTTP/1.1


HTTP/1.1 Major Features...</p>
        <p><a href="https://www.frontendgeek.com/blogs/http2-vs-http11-whats-the-key-difference">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Sun, 26 Jan 2025 19:36:44 GMT</pubDate>
      <lastBuildDate>Wed, 19 Nov 2025 19:51:28 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>Frontend System Design</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>What happens when you type google.com in the browser</title>
      <link>https://www.frontendgeek.com/blogs/what-happens-when-you-type-googlecom-in-the-browser</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/what-happens-when-you-type-googlecom-in-the-browser</guid>
      <description>Details about how the browser works behind the scenes and what happens when you type google.com in the browser, starting from communication to the webpage rendering. </description>
      <content:encoded><![CDATA[
        <p>Details about how the browser works behind the scenes and what happens when you type google.com in the browser, starting from communication to the webpage rendering. </p>
        <p>In order to understand the browser functionality, Its important to know what happens when you type google.com in the browser search bar. This overall process, primarily includes client-server communication and webpage rendering/painting in the browser. Also it&apos;s a very frequently asked frontend interview question at all the levels.
In this post, we will briefly describe the overall process into 3 major steps, here are those

Step 1: URL Parsing &amp; Server Lookup
URL Parsing
When the user types goo...</p>
        <p><a href="https://www.frontendgeek.com/blogs/what-happens-when-you-type-googlecom-in-the-browser">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Sun, 26 Jan 2025 18:19:33 GMT</pubDate>
      <lastBuildDate>Thu, 05 Feb 2026 20:18:24 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>UI Technologies</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Understand Debouncing in JavaScript with Examples</title>
      <link>https://www.frontendgeek.com/blogs/understand-debouncing-in-javascript-with-examples</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/understand-debouncing-in-javascript-with-examples</guid>
      <description>Understand the concept of Debouncing in JavaScript to improve the performance of your web application and optimize the event handling in JavaScript, by limiting API calls or DOM events.</description>
      <content:encoded><![CDATA[
        <p>Understand the concept of Debouncing in JavaScript to improve the performance of your web application and optimize the event handling in JavaScript, by limiting API calls or DOM events.</p>
        <p>Debounce in JavaScript is a very effective technique to improve web performance, especially for applications with higher user interaction. This is also very useful for saving the network bandwidth by delaying the API calls and invoking when user interaction gets paused for a certain interval. Let&apos;s understand 👇👇
Table of Content

Debouncing in JavaScript
Debouncing use-case examples

Debouncing in JavaScript
Debouncing in javascript is a technique to delay the function call for a certain inter...</p>
        <p><a href="https://www.frontendgeek.com/blogs/understand-debouncing-in-javascript-with-examples">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Mon, 20 Jan 2025 18:34:18 GMT</pubDate>
      <lastBuildDate>Mon, 20 Jan 2025 19:34:42 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>Javascript</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>What is Throttling in JavaScript - Implementation &amp; Examples</title>
      <link>https://www.frontendgeek.com/blogs/what-is-throttling-in-javascript--implementation--examples</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/what-is-throttling-in-javascript--implementation--examples</guid>
      <description>Understand the concept of throttling in JavaScript to improve the performance of your web application and optimize the event handling in JavaScript, by limiting API calls or DOM events.</description>
      <content:encoded><![CDATA[
        <p>Understand the concept of throttling in JavaScript to improve the performance of your web application and optimize the event handling in JavaScript, by limiting API calls or DOM events.</p>
        <p>Throttling in javascript is a very frequently used technique nowadays to improve performance by limiting the number of calls when the user uses any web application and there is a function call which used to happen on an event, In this case, we can&apos;t control the user behaviour but behind the scenes, we can limit the function calls so that there won&apos;t be any performance issue. Let&apos;s see the implementation and how it works.
Table of content

Throttling in JavaScript
Throttling Use-Case Example
Fina...</p>
        <p><a href="https://www.frontendgeek.com/blogs/what-is-throttling-in-javascript--implementation--examples">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Fri, 17 Jan 2025 20:58:26 GMT</pubDate>
      <lastBuildDate>Fri, 07 Mar 2025 10:41:07 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>Javascript</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Understand JavaScript Local Storage, Session Storage and Cookies</title>
      <link>https://www.frontendgeek.com/blogs/understand-javascript-local-storage-session-storage-and-cookies</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/understand-javascript-local-storage-session-storage-and-cookies</guid>
      <description>Explore how to create and use javascript local storage, session storage and cookies. Explore the key differences between Local Storage vs Session Storage vs Cookies to understand the trade-offs.</description>
      <content:encoded><![CDATA[
        <p>Explore how to create and use javascript local storage, session storage and cookies. Explore the key differences between Local Storage vs Session Storage vs Cookies to understand the trade-offs.</p>
        <p>Storing data in the client-side browser is a common case to provide personalized user experiences with the web application and JavaScript local storage, session storage, and cookies are the most common ways to store the data in these cases.
There are certain differences between these storage mechanisms and understanding these differences is important to choose the best-suited one for the web application. This post covers the implementation, usage and differences to help you to choose among these...</p>
        <p><a href="https://www.frontendgeek.com/blogs/understand-javascript-local-storage-session-storage-and-cookies">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Fri, 17 Jan 2025 20:45:01 GMT</pubDate>
      <lastBuildDate>Fri, 06 Feb 2026 05:36:40 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>UI Technologies</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Promise.any Polyfill in JavaScript - Detailed Explanation</title>
      <link>https://www.frontendgeek.com/blogs/promiseany-polyfill-in-javascript--detailed-explanation</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/promiseany-polyfill-in-javascript--detailed-explanation</guid>
      <description>A step-by-step detailed explanation of Promise.any polyfill in JavaScript to understand the internal implementation to handle race conditions among promises to result in a single resolved promise.</description>
      <content:encoded><![CDATA[
        <p>A step-by-step detailed explanation of Promise.any polyfill in JavaScript to understand the internal implementation to handle race conditions among promises to result in a single resolved promise.</p>
        <p>Jump to the topic

How does Promise.any work in javascript?

Examples
Expected Functionality for Promise.any Implementation


Promise.any Polyfill in Javascript - Detailed Explanation

How does Promise.any work in JavaScript?
Promise.any() takes multiple promises and returned the first one that resolved. If all promises reject, it returns an AggregateError object containing all the error messages for all the rejected promises. Promise.any static method is quite useful in the cases where in the a...</p>
        <p><a href="https://www.frontendgeek.com/blogs/promiseany-polyfill-in-javascript--detailed-explanation">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Sat, 11 Jan 2025 19:31:16 GMT</pubDate>
      <lastBuildDate>Thu, 18 Sep 2025 08:02:17 GMT</lastBuildDate>
      <author>Frontendgeek</author>
      <category>Javascript</category>
      <dc:creator>Frontendgeek</dc:creator>
    </item>
    <item>
      <title>Promise.race Polyfill in Javascript - Detailed Explanation</title>
      <link>https://www.frontendgeek.com/blogs/promiserace-polyfill-in-javascript--detailed-explanation</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/promiserace-polyfill-in-javascript--detailed-explanation</guid>
      <description>Detailed step-by-step explanation of Promise.race polyfill in javascript to understand its internal working and handling of race conditions among promises.</description>
      <content:encoded><![CDATA[
        <p>Detailed step-by-step explanation of Promise.race polyfill in javascript to understand its internal working and handling of race conditions among promises.</p>
        <p>Table of Content

How does Promise.race work in javascript?

Examples
Expected Functionality for Custom Promise.race Implementation


Promise.race Polyfill in Javascript - Detailed Explanation

# How does Promise.race work in JavaScript?
Promise.race takes the iterable (such as array) of promises, and returns the first settled promise, here settled promise can be resolved or rejected. As name &quot;race&quot; suggested, whichever promise settled first will be returned by Promise.race() method.
Examples
Ex...</p>
        <p><a href="https://www.frontendgeek.com/blogs/promiserace-polyfill-in-javascript--detailed-explanation">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Sat, 11 Jan 2025 19:24:40 GMT</pubDate>
      <lastBuildDate>Thu, 18 Sep 2025 07:58:19 GMT</lastBuildDate>
      <author>Anuj Sharma</author>
      <category>Javascript</category>
      <dc:creator>Anuj Sharma</dc:creator>
    </item>
    <item>
      <title>Promise.allSettled Polyfill in JavaScript - Step by Step Explanation</title>
      <link>https://www.frontendgeek.com/blogs/promiseallsettled-polyfill-in-javascript--step-by-step-explanation</link>
      <guid isPermaLink="true">https://www.frontendgeek.com/blogs/promiseallsettled-polyfill-in-javascript--step-by-step-explanation</guid>
      <description>Deep dive into Promise.allSettled Polyfill in JavaScript, which helps to understand the internal implementation of Promise.allSettled method to handle parallel calls with failure cases.</description>
      <content:encoded><![CDATA[
        <p>Deep dive into Promise.allSettled Polyfill in JavaScript, which helps to understand the internal implementation of Promise.allSettled method to handle parallel calls with failure cases.</p>
        <p>Table of content:

Understand Promise.allSettled Static Method
Promise.allSettled Polyfill in JavaScript - Step by Step Explanation
Handle Multiple Aync API Calls using Promise.allSettled

Understand Promise.allSettled Static Method
Static Promise.allSettled([Promises]) function works similar to Promise.all() method to execute all the promises parallelly but rather than returning a failure response in case of one or more rejected promises, allSettled method takes array of promises as an input, a...</p>
        <p><a href="https://www.frontendgeek.com/blogs/promiseallsettled-polyfill-in-javascript--step-by-step-explanation">Read full article on FrontendGeek</a></p>
      ]]></content:encoded>
      <pubDate>Sat, 11 Jan 2025 18:24:38 GMT</pubDate>
      <lastBuildDate>Thu, 18 Sep 2025 08:00:42 GMT</lastBuildDate>
      <author>Frontendgeek</author>
      <category>Javascript</category>
      <dc:creator>Frontendgeek</dc:creator>
    </item>
  </channel>
</rss>