Tag

dynamic-import

1 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
Code Mala Tang
Code Mala Tang
Jan 7, 2025 · Fundamentals

Master Python Imports: Choose import, from, or * and Avoid Common Pitfalls

This guide explains the differences between Python's import statements—including "import X", "from X import Y", and "from X import *"—covers dynamic imports with __import__, sys.path handling, PYTHONPATH, PEP8 import ordering, __all__ usage, and the role of __name__ in module execution, helping you write cleaner, conflict‑free code.

ModulesPythondynamic-import
0 likes · 10 min read
Master Python Imports: Choose import, from, or * and Avoid Common Pitfalls
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 5, 2024 · Frontend Development

Comprehensive Guide to Image Management in Vue 3 + Vite Projects

This article explains how to organize, import, dynamically load, batch import, and lazily load images in Vue 3 + Vite applications, covering static assets, CSS references, template usage, URL handling, import.meta.glob, and common pitfalls with path aliases.

Image ManagementVuedynamic-import
0 likes · 12 min read
Comprehensive Guide to Image Management in Vue 3 + Vite Projects
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
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 29, 2023 · Frontend Development

Advanced Next.js Techniques to Optimize Performance

This article presents advanced Next.js techniques—including dynamic imports, CDN asset publishing, server‑side caching, Incremental Static Regeneration, and custom server integration for WebSockets—to help developers build faster, more scalable, and performance‑optimized web applications.

ISRNext.jsWebSocket
0 likes · 8 min read
Advanced Next.js Techniques to Optimize Performance
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
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 1, 2022 · Frontend Development

ES2020 Optional Chaining and Dynamic Imports: Reducing Code and Boosting Performance

This article explains the ES2020 optional chaining (?.) and dynamic import() features, showing their syntax, practical code examples, compatibility notes, and how they simplify JavaScript code while improving web application performance.

ES2020JavaScriptdynamic-import
0 likes · 11 min read
ES2020 Optional Chaining and Dynamic Imports: Reducing Code and Boosting Performance
58 Tech
58 Tech
Jul 12, 2021 · Mobile Development

58RN Page Instant‑Open Solution and Practice

The article presents Jiang Hongwei’s GMTC talk on 58RN’s instant‑open strategy, detailing performance metrics, LCP‑based first‑screen measurement, identified bottlenecks, and a series of optimizations—including resource pre‑loading, bundle splitting, native parallel fetching, and dynamic import—that collectively reduce page load time and improve business conversion rates.

Instant LoadLCPReact Native
0 likes · 17 min read
58RN Page Instant‑Open Solution and Practice
Sohu Tech Products
Sohu Tech Products
Nov 18, 2020 · Frontend Development

Building a Front‑End JavaScript Module Executor Using Node's Module._compile Logic

This article explains how to dynamically load and execute a CommonJS‑style JavaScript module in a browser by reproducing Node's internal Module._compile workflow, creating a sandbox with with, Proxy, and Symbol.unscopables, and providing a complete ES6 class implementation with examples.

JavaScriptNode.jsSandbox
0 likes · 11 min read
Building a Front‑End JavaScript Module Executor Using Node's Module._compile Logic
政采云技术
政采云技术
May 24, 2020 · Frontend Development

React.lazy and Suspense: Dynamic Component Loading and Error Handling in Frontend Development

This article explains how React.lazy and Suspense enable on‑demand component loading, describes the underlying webpack dynamic import mechanism, shows how to configure fallback UI and error boundaries, and provides practical code examples for modern frontend performance optimization.

Error BoundaryLazyReact
0 likes · 13 min read
React.lazy and Suspense: Dynamic Component Loading and Error Handling in Frontend Development