All Posts

I write mostly about web development, tech related, and sometime about my personal life. Use the search below to filter by title.

  • Published on
    This article summarizes the working principles of Vite, including project setup, implementing CLI, starting a static server, handling index.html and JS files, importing node_modules, splitting middleware, handling React files, and some implementation details.
  • Published on
    This article delves into the fundamental principles and implementation details of Loaders in Webpack. It covers the definition of Loaders, common types and their functions, the differences between Loaders and Plugins, the input and output methods of Loaders, how to write synchronous and asynchronous Loaders, and the execution order of Loaders.
  • Published on
    The React Fiber architecture introduces the concept of `task scheduling` and implements a `scheduler`. However, task scheduling is framework-agnostic. This article delves into the principles of task scheduling, analyzed step by step using Chrome's performance tools.
  • Published on
    Previously, we implemented the basic logic for updating data to view rendering. However, using methods like innerHTML is extremely inefficient. Therefore, we introduce the dom and diff algorithms.
Built with
Copyright © 2024
York's Blog - York's coding journey