Tag

HMR

0 views collected around this technical thread.

58 Tech
58 Tech
Mar 10, 2022 · Frontend Development

Vite Principles, Implementation, and Migration Guide

This article provides a comprehensive tutorial on Vite, explaining its core principles, architecture, and practical implementation, while detailing a step‑by‑step migration from Webpack—including handling JSX, aliasing, module resolution, CSS, HMR, and performance improvements—complete with code snippets and real‑world challenges.

Build ToolsFrontend DevelopmentHMR
0 likes · 24 min read
Vite Principles, Implementation, and Migration Guide
ByteDance ADFE Team
ByteDance ADFE Team
Feb 14, 2022 · Frontend Development

Vite Introduction: Features, Core Principles, and Plugin System

This article provides a comprehensive overview of Vite, covering its definition, advantages over traditional bundlers like Webpack and Snowpack, the underlying ESM‑based development server, hot‑module replacement mechanisms, esbuild pre‑bundling, Rollup integration, plugin architecture, and a balanced summary of its strengths and limitations.

ESMHMRRollup
0 likes · 19 min read
Vite Introduction: Features, Core Principles, and Plugin System
ByteFE
ByteFE
May 25, 2021 · Frontend Development

Deep Dive into Webpack Runtime: Chunk, Runtime Modules, and Build Process

This article provides an in‑depth technical analysis of Webpack's runtime, explaining how bundles are composed of business code and runtime, the generation of __webpack_require__ helpers, the mechanisms behind asynchronous chunk loading, hot module replacement, and the internal dependency‑collection process that drives the final asset emission.

ChunkHMRWebpack
0 likes · 21 min read
Deep Dive into Webpack Runtime: Chunk, Runtime Modules, and Build Process
ByteDance Web Infra
ByteDance Web Infra
May 22, 2021 · Frontend Development

Understanding Vite: ESM‑Based Dev Server, HMR, Pre‑Bundling, and Rollup Integration

This article explains how Vite improves development experience over traditional bundlers by leveraging native ESM support for a fast dev server, efficient hot‑module replacement, pre‑bundling of Node modules, and seamless integration with Rollup plugins for production builds and SSR.

Dev ServerESMFrontend Development
0 likes · 12 min read
Understanding Vite: ESM‑Based Dev Server, HMR, Pre‑Bundling, and Rollup Integration
政采云技术
政采云技术
Sep 25, 2019 · Frontend Development

Understanding Webpack Hot Module Replacement (HMR): Mechanism and Implementation

This article explains how Webpack's Hot Module Replacement works, covering its benefits, the build and watch processes, the role of webpack-dev-middleware and webpack-hot-middleware, and provides detailed code examples to illustrate the communication between the server and the browser.

Dev MiddlewareFrontend DevelopmentHMR
0 likes · 10 min read
Understanding Webpack Hot Module Replacement (HMR): Mechanism and Implementation
Hujiang Technology
Hujiang Technology
Mar 6, 2018 · Frontend Development

The Evolution and Implementation of React Hot Loader

An in‑depth exploration of React Hot Loader’s origins, underlying HMR principles, challenges with state and DOM preservation, the development of proxy‑based solutions, React Transform, and the progression to newer versions, providing practical code examples and insights for frontend developers.

BabelHMRHot Loader
0 likes · 21 min read
The Evolution and Implementation of React Hot Loader