Tag

code-splitting

0 views collected around this technical thread.

IT Services Circle
IT Services Circle
Jan 26, 2025 · Frontend Development

Understanding Code Splitting in Next.js and How It Improves Performance

This article explains the concept of code splitting in Next.js, describes how automatic page-level splitting and dynamic imports reduce initial bundle size, and provides practical code examples that demonstrate improved load times and better user experience for modern web applications.

Next.jsOptimizationcode-splitting
0 likes · 8 min read
Understanding Code Splitting in Next.js and How It Improves Performance
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 9, 2025 · Frontend Development

Comprehensive Guide to Vite Configuration: Aliases, Plugins, Environment Variables, Build Optimizations, and Code Splitting

This article provides a detailed walkthrough of Vite's configuration options, covering development server setup, path aliasing, TypeScript support, plugin integration, environment variable handling, CSS pre‑processor settings, dependency pre‑bundling, production build tweaks, and advanced code‑splitting strategies for modern frontend projects.

Environment VariablesTypeScriptbuild tool
0 likes · 17 min read
Comprehensive Guide to Vite Configuration: Aliases, Plugins, Environment Variables, Build Optimizations, and Code Splitting
Sohu Tech Products
Sohu Tech Products
Nov 27, 2024 · Frontend Development

Optimizing React Applications with Code Splitting and Dynamic Imports

By using code splitting and dynamic imports, React developers can break large bundles into on‑demand chunks—loading only needed libraries, components, or routes after user actions—thereby shrinking initial download size, speeding up first render, and delivering a more responsive, scalable application.

Reactcode-splittingdynamic-import
0 likes · 9 min read
Optimizing React Applications with Code Splitting and Dynamic Imports
Soul Technical Team
Soul Technical Team
Sep 30, 2024 · Mobile Development

Implementing Dynamic Code Splitting and Hot Updates in React Native with Metro Bundler

This article explains how to analyze React Native bundle contents, customize Metro's module ID generation to achieve stable code splitting, and integrate the resulting base and feature packages with a hot‑update workflow that preloads the base bundle, loads feature bundles on demand, and handles loading failures on iOS.

Hot UpdateMetro bundlerReact Native
0 likes · 17 min read
Implementing Dynamic Code Splitting and Hot Updates in React Native with Metro Bundler
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 28, 2024 · Frontend Development

Performance Optimization of a Vue2 + ElementUI Cloud Management Platform

This article describes how a legacy Vue2‑based cloud management system was profiled with Lighthouse and webpack‑bundle‑analyzer, then optimized through static asset compression, dead‑code removal, tree‑shaking, code‑splitting, async loading and server tweaks, achieving a three‑fold reduction in bundle size and a 13.6‑second improvement in first‑contentful‑paint time.

VueWebpackcode-splitting
0 likes · 11 min read
Performance Optimization of a Vue2 + ElementUI Cloud Management Platform
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jul 1, 2024 · Frontend Development

Performance Optimization and Engineering Practices for NetEase Cloud Music 2023 Annual Report Front‑End Development

The 2023 NetEase Cloud Music annual‑report front‑end case study details how sub‑second first‑screen loads, SPA routing with TypeScript, GPU‑accelerated animations, optimized media handling, multi‑layer quality monitoring, and a unified development platform together boost performance, reliability, and engineering efficiency, driving higher DAU and share‑rate.

ReactSPAcode-splitting
0 likes · 27 min read
Performance Optimization and Engineering Practices for NetEase Cloud Music 2023 Annual Report Front‑End Development
HelloTech
HelloTech
Jun 19, 2024 · Frontend Development

WeChat Mini Program Package Size and Performance Optimization Strategies

To keep a WeChat mini‑program under the 2 MB limit and improve both startup and runtime performance, the article proposes splitting the main bundle into async sub‑packages, removing unused code, pre‑fetching data, using on‑demand imports, and implementing a backend‑driven size‑control and CI release gate.

Package Size OptimizationWeChat Mini Programcode-splitting
0 likes · 16 min read
WeChat Mini Program Package Size and Performance Optimization Strategies
JD Tech
JD Tech
Feb 5, 2024 · Frontend Development

Systematic Performance Optimization of JD Shopping Mini Program for Billion‑User Scale

This article details how JD's massive‑scale shopping mini program achieved a two‑fold performance boost through systematic front‑end optimizations—including code‑package reduction, independent sub‑packages, async loading, pre‑download, selective code injection, first‑screen rendering tricks, and release‑frequency management—providing practical guidance for developers targeting large‑user bases.

JDOptimizationWeChat
0 likes · 13 min read
Systematic Performance Optimization of JD Shopping Mini Program for Billion‑User Scale
HelloTech
HelloTech
Feb 1, 2024 · Frontend Development

Static Compilation for Multi‑Scene SaaS Car Services Using Webpack Resolve Plugins

The article explains how a custom Webpack resolve plugin enables static compilation for a multi‑scene SaaS car‑service platform by separating brand‑specific logic into suffix‑named files, allowing compile‑time branching, smaller scenario‑specific bundles, cleaner code, easier testing, and faster cold‑starts.

TypeScriptcode-splittingfrontend
0 likes · 12 min read
Static Compilation for Multi‑Scene SaaS Car Services Using Webpack Resolve Plugins
JD Retail Technology
JD Retail Technology
Dec 20, 2023 · Frontend Development

JD Shopping Mini Program Performance Optimization: Practices and Results

This article details how JD Shopping mini program improved launch speed and user retention by applying code‑splitting, asynchronous sub‑packages, lazy component injection, reduced synchronous API calls, first‑screen rendering tricks, data prefetching, caching, and smarter version release strategies.

Loading SpeedWeChatcode-splitting
0 likes · 10 min read
JD Shopping Mini Program Performance Optimization: Practices and Results
Snowball Engineer Team
Snowball Engineer Team
Oct 20, 2023 · Mobile Development

React Native Bundle Splitting and Incremental Loading Strategy at Snowball

This article describes Snowball's evolution from a single React Native bundle to a multi‑bundle, code‑splitting architecture that reduces bundle size by 70%, shortens load time by 65%, and enables flexible, incremental updates through Metro‑based split‑packages and LRU engine caching.

Bundle SplittingHot UpdateMetro
0 likes · 23 min read
React Native Bundle Splitting and Incremental Loading Strategy at Snowball
JD Retail Technology
JD Retail Technology
Sep 12, 2023 · Frontend Development

Route‑Resource‑Preload: A Webpack Plugin and React Component Preload Scheme to Boost SPA First‑Page Load and Interaction Performance

This article introduces a highly customizable Webpack plugin and React component preloading solution that combines code splitting, lazy loading, and proactive resource prefetching to dramatically reduce first‑screen load size and eliminate runtime loading delays, especially for large module‑federated components.

Component PreloadReactSPA Performance
0 likes · 9 min read
Route‑Resource‑Preload: A Webpack Plugin and React Component Preload Scheme to Boost SPA First‑Page Load and Interaction Performance
JD Tech
JD Tech
Jun 21, 2023 · Frontend Development

Micro Frontend: Research, Introduction, Capabilities, Core Concepts, Platform Selection, Implementation, and Summary

This article explains the concept of micro frontends, outlines a four‑step adoption process, compares architectural options, describes core capabilities and platforms such as single‑spa, qiankun and micro‑app, and shares practical implementation tips and common pitfalls for large‑scale projects.

JavaScriptcode-splittingfrontend architecture
0 likes · 15 min read
Micro Frontend: Research, Introduction, Capabilities, Core Concepts, Platform Selection, Implementation, and Summary
JD Retail Technology
JD Retail Technology
May 5, 2023 · Frontend Development

Micro Frontend Architecture: Research, Design, and Implementation Guide

This article explains the concept of micro frontends, outlines a systematic research and design process, compares architectural options, and provides detailed implementation steps with code examples using frameworks like single-spa, qiankun, and micro‑app to build scalable, maintainable large‑scale projects.

code-splittingfrontend architecturemicro-app
0 likes · 12 min read
Micro Frontend Architecture: Research, Design, and Implementation Guide
JD Retail Technology
JD Retail Technology
Feb 17, 2023 · Frontend Development

Building a Custom Vue Component Library with Vant CLI: A Step‑by‑Step Guide

This article explains the purpose of a component library, outlines how to plan, select a framework, set up Vant CLI, configure scripts, organize directories, add and test components, publish to an npm registry, and integrate the library into projects using various import methods.

Build ToolsVant CLIVue
0 likes · 9 min read
Building a Custom Vue Component Library with Vant CLI: A Step‑by‑Step Guide
ByteDance Web Infra
ByteDance Web Infra
Dec 16, 2022 · Frontend Development

Understanding React 18 Streaming SSR and Selective Hydration

React 18 introduces Streaming SSR, allowing the server to send HTML in chunks and perform selective hydration, which improves performance by rendering ready sections early and handling asynchronous components via Suspense, with detailed examples of code implementation, error handling, and JS/CSS integration.

ReactSelective HydrationServer-side Rendering
0 likes · 25 min read
Understanding React 18 Streaming SSR and Selective Hydration
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 11, 2022 · Frontend Development

Manual and Automatic Code Splitting in Webpack: Principles, Configuration, and Practice

This article explains how to reduce bundle size in Webpack by manually extracting common libraries into DLLs and configuring automatic code splitting with SplitChunksPlugin, detailing the underlying principles, configuration files, and practical examples using jQuery and Lodash to achieve up to 50% size reduction.

DLLJavaScriptOptimization
0 likes · 17 min read
Manual and Automatic Code Splitting in Webpack: Principles, Configuration, and Practice
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jun 30, 2022 · Mobile Development

Implementing Dynamic Imports in React Native: A Deep Dive into Metro Bundler

This article explains how to customize Metro bundler to support dynamic imports in React Native, detailing a split‑and‑combine build process that isolates async modules, deduplicates code, and loads bundles on demand, thereby shrinking app size and avoiding the drawbacks of multi‑business package architectures.

JavaScriptMetro bundlerReact Native
0 likes · 14 min read
Implementing Dynamic Imports in React Native: A Deep Dive into Metro Bundler
Tencent Cloud Developer
Tencent Cloud Developer
Jun 15, 2022 · Frontend Development

Webpack Core Principles and Code Splitting: From CommonsChunkPlugin to SplitChunksPlugin

Covering webpack’s evolution from early module systems to modern code‑splitting, the article explains core concepts—entries, loaders, plugins, and chunks—then contrasts the deprecated CommonsChunkPlugin with the heuristic‑driven SplitChunksPlugin, offering configuration tips and best practices for efficient vendor, async, and route‑based bundling.

JavaScriptWebpackbuild optimization
0 likes · 21 min read
Webpack Core Principles and Code Splitting: From CommonsChunkPlugin to SplitChunksPlugin
Baidu Geek Talk
Baidu Geek Talk
Dec 1, 2021 · Frontend Development

When to Adopt Micro Frontends: System Requirements, Design Guidelines, and Performance Tips

Adopt micro frontends when large, parallel development teams need independent releases, cross‑technology migration, or high‑frequency updates, and design them with a central app shell loading shared dependencies, choosing between iframe, web component, or lifecycle‑hook bundles, managing single‑ or multi‑instance routing, shared state or event‑bus communication, and optimizing performance through lazy rendering and shared library bundling.

code-splittingfrontend architecturemicro frontends
0 likes · 15 min read
When to Adopt Micro Frontends: System Requirements, Design Guidelines, and Performance Tips