Knowing Core Web Vitals to Improve Website Performance.
This article discusses Google's Core Web Vitals (LCP, INP, CLS) and other key performance metrics like FCP, TBT, and Speed Index. It breaks down what each metric measures, why it's important, and provides actionable strategies for optimization, including server-side rendering, image compression, and strategic script loading etc, hoping to help you improve your website's user experience and SEO ranking.
Rendering Techniques Overview for Modern Web Development.
Overview of web rendering techniques: SSG for static content, SSR for dynamic SEO-friendly pages, CSR for interactive SPAs, ISR for hybrid speed and updates, and RSC for efficient component-level server rendering.
What is the difference between the Page and App router in Nextjs?
The Next.js App Router represents a significant evolution from the Page Router, introducing Server Components as the default, improved routing capabilities, and enhanced performance features, while maintaining backwards compatibility for developers who prefer the traditional approach.
Understanding useEffect, useCallback, and useMemo in React.
React's useEffect, useCallback, and useMemo hooks are essential tools for managing side effects, optimizing function references, and caching computed values, respectively, working together to enhance application performance and maintainability.
What is GraphQL and How does Apollo's Cache Work?
This article is a walkthrough of how Apollo works. We'll start with the basics of GraphQL and the cache, then explore the common reasons why things get out of sync. We'll look at the different tools Apollo gives us, like the update function and refetchQueriesto fix these issues.
The Gist of using useState to Manage States in RFC.
Understand React's useState Hook with this in depth guide, covering from its fundamental concepts and best practices to advanced techniques for managing object and array states in React functional components.
JavaScript Data Types, Equality and Comparisons.
In JavaScript, primitives are compared by value while objects are compared by reference, meaning a deep comparison is necessary to check if two different objects have identical contents.
How Layers Really Work in CSS Stacking Contexts?
This article explains how CSS stacking contexts dictate the layering and visibility of HTML elements on a webpage, helping you understand element positioning and avoid common z-index issues.