Tagged articles
16 articles
Page 1 of 1
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 30, 2025 · Frontend Development

How to Dynamically Load Vue 2 Components in a Vue 3 Project

This tutorial explains how to integrate a pre‑built Vue 2 component library into a Vue 3 application by dynamically loading the Vue 2 runtime, creating an isolated Vue 2 instance, mounting the component to a dedicated DOM node, and leveraging props for data exchange, while keeping bundle size small.

VueVue2Vue3
0 likes · 6 min read
How to Dynamically Load Vue 2 Components in a Vue 3 Project
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.

Code SplittingNext.jsdynamic import
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.

ModulesNamespacedynamic import
0 likes · 10 min read
Master Python Imports: Choose import, from, or * and Avoid Common Pitfalls
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.

Code SplittingPerformance OptimizationReact
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.

CDNISRNext.js
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.

Code SplittingJavaScriptMetro bundler
0 likes · 14 min read
Implementing Dynamic Imports in React Native: A Deep Dive into Metro Bundler
BaiPing Technology
BaiPing Technology
Jan 31, 2022 · Frontend Development

On-Demand JS Imports: async import(), Babel plugin, Tree Shaking, Conditional Compilation

This article explains various on-demand import techniques for modern JavaScript projects, covering the native async import() syntax, the Babel plugin-import for selective library loading, Tree Shaking to eliminate dead code, and conditional compilation using tools like uglify-js-plugin and js-conditional-compile-loader.

conditional compilationdynamic importfrontend
0 likes · 11 min read
On-Demand JS Imports: async import(), Babel plugin, Tree Shaking, Conditional Compilation
Taobao Frontend Technology
Taobao Frontend Technology
Oct 15, 2021 · Frontend Development

How to Load Vite Micro‑Frontends with ES Modules in icestark

This article explains how Vite‑built micro‑frontends can be loaded as native ES modules in icestark, covering the advantages of ES‑module tooling, dynamic import techniques, necessary Vite configuration changes, and the resulting fast cold‑start and second‑load performance for progressive upgrades.

ES ModulesMicro FrontendsVite
0 likes · 13 min read
How to Load Vite Micro‑Frontends with ES Modules in icestark
Alibaba Terminal Technology
Alibaba Terminal Technology
Oct 14, 2021 · Frontend Development

How Vite and ES Modules Transform Micro‑Frontend Development

This article explains how native ES modules, supported by modern browsers since 2018, enable no‑build development with tools like Vite and Snowpack, and describes practical techniques for loading Vite‑based micro‑frontends in icestark using dynamic import, lib mode, and plugins.

ES Modulesdynamic importicestark
0 likes · 10 min read
How Vite and ES Modules Transform Micro‑Frontend Development
JavaScript
JavaScript
Jul 15, 2021 · Frontend Development

Mastering ES Modules: Static & Dynamic Imports in JavaScript

This guide explains the roles of import and export in ES modules, demonstrates static and dynamic import syntax with code examples, and advises when to use dynamic imports for large modules in modern browsers and Node.js.

Import ExportJavaScriptdynamic import
0 likes · 6 min read
Mastering ES Modules: Static & Dynamic Imports in JavaScript
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 LoadLCPMobile Development
0 likes · 17 min read
58RN Page Instant‑Open Solution and Practice
Python Crawling & Data Mining
Python Crawling & Data Mining
Jun 7, 2020 · Fundamentals

8 Powerful Ways to Import Modules in Python (including Remote Imports)

Explore eight distinct methods for importing Python modules—from the simple 'import' statement to advanced techniques like __import__, importlib, imp, execfile, exec, the import_from_github_com package, and custom remote importers—providing practical code examples and guidance for both everyday developers and framework creators.

ImportPythondynamic import
0 likes · 10 min read
8 Powerful Ways to Import Modules in Python (including Remote Imports)