Goodme Frontend Team
Author

Goodme Frontend Team

Regularly sharing the team's insights and expertise in the frontend field

104
Articles
0
Likes
255
Views
0
Comments
Recent Articles

Latest from Goodme Frontend Team

100 recent articles max
Goodme Frontend Team
Goodme Frontend Team
Jan 13, 2025 · Frontend Development

Why Upgrading to Webpack 5 Breaks process.env and How to Fix It

This article recounts a production white‑screen caused by missing node polyfills after upgrading to webpack 5, explains how the undefined process.env variables triggered the crash, and shows how to diagnose and resolve the issue using DefinePlugin or a polyfill plugin.

DefinePluginFrontend DebuggingWebpack
0 likes · 6 min read
Why Upgrading to Webpack 5 Breaks process.env and How to Fix It
Goodme Frontend Team
Goodme Frontend Team
Dec 30, 2024 · Frontend Development

Why Huge Images Crash Your H5 App and How to Fix It with Chunked Lazy Loading

An H5 application suffered endless refresh loops due to a massive 4505 × 60615 px image, prompting a deep dive into browser rendering stages, performance profiling, and cross‑browser behavior, followed by practical solutions such as image size validation, server‑side checks, OSS processing, and chunked lazy‑loading techniques.

Browser Renderingfrontendimage-optimization
0 likes · 21 min read
Why Huge Images Crash Your H5 App and How to Fix It with Chunked Lazy Loading
Goodme Frontend Team
Goodme Frontend Team
Dec 16, 2024 · Backend Development

Understanding N-API vs ABI: Build Efficient Node.js Native Addons with Rust

This article demystifies the relationship between Node.js's N‑API and the underlying Application Binary Interface (ABI), explaining their definitions, comparing their abstraction levels, cross‑platform compatibility, memory management, and performance, and provides concrete Rust code examples for both raw ABI and N‑API implementations.

FFIN-APIRust
0 likes · 8 min read
Understanding N-API vs ABI: Build Efficient Node.js Native Addons with Rust
Goodme Frontend Team
Goodme Frontend Team
Dec 2, 2024 · Frontend Development

How to Generate Paginated PDFs from HTML with html2canvas and jsPDF

This article explains how to convert HTML content—including text, images, and tables—into PDF files using html2canvas and jsPDF, and details a dynamic pagination technique to prevent content truncation across pages, while also covering performance and export considerations.

JavaScriptPaginationfrontend
0 likes · 19 min read
How to Generate Paginated PDFs from HTML with html2canvas and jsPDF
Goodme Frontend Team
Goodme Frontend Team
Nov 18, 2024 · Frontend Development

Add Rotation and Scaling to Video Previews with React and Vime

This article explains how to implement video rotation, fullscreen handling, and proportional scaling in a React application using the Vime library and CSS transforms, covering container setup, control customization, and code examples for a seamless user experience.

CSS transformScalingfrontend
0 likes · 10 min read
Add Rotation and Scaling to Video Previews with React and Vime
Goodme Frontend Team
Goodme Frontend Team
Nov 4, 2024 · Frontend Development

Boost Frontend Animation Efficiency with Galacean Effects and Lottie

This article explores how a growth‑marketing team streamlined complex front‑end animations by adopting design‑first workflows, leveraging Galacean Effects and Lottie, and solving compatibility, resource‑replacement, and performance challenges in mini‑programs and H5 pages.

GalaceanLottieanimation
0 likes · 10 min read
Boost Frontend Animation Efficiency with Galacean Effects and Lottie
Goodme Frontend Team
Goodme Frontend Team
Oct 28, 2024 · Frontend Development

Preventing Day.js Locale Pollution in Large Frontend Projects with Static Analysis

This article recounts a date‑misalignment bug caused by an unintended Day.js locale change in a mini‑program, explains why the global locale must remain unique, and details a comprehensive static‑analysis solution using ESLint, custom Webpack loaders, and Babel plugins to intercept and block Day.js locale modifications at compile time.

DayjsESLintWebpack
0 likes · 22 min read
Preventing Day.js Locale Pollution in Large Frontend Projects with Static Analysis