WecTeam
Author

WecTeam

WecTeam (维C团) is the front‑end technology team of JD.com’s Jingxi business unit, focusing on front‑end engineering, web performance optimization, mini‑program and app development, serverless, multi‑platform reuse, and visual building.

74
Articles
0
Likes
106
Views
0
Comments
Recent Articles

Latest from WecTeam

74 recent articles
WecTeam
WecTeam
Oct 17, 2019 · Fundamentals

How to Build a Simple HTML AST Parser in JavaScript

This article explains how to transform raw HTML strings into a structured abstract syntax tree (AST) using JavaScript regular expressions and a step‑by‑step parsing algorithm, covering tag, attribute, and text node handling, with a complete example implementation of a lightweight AST parser.

ASTHTML ParsingJavaScript
0 likes · 16 min read
How to Build a Simple HTML AST Parser in JavaScript
WecTeam
WecTeam
Oct 15, 2019 · Frontend Development

Why One CSS Property Slowed Down iOS and How a Single Line Fixed It

An iOS‑only performance nightmare caused by a heavy CSS blur filter was solved by adding a GPU‑accelerating property, and the article explains the browser rendering pipeline, compositing layers, implicit compositing pitfalls, and practical optimization techniques for smoother front‑end experiences.

Browser RenderingCompositing
0 likes · 19 min read
Why One CSS Property Slowed Down iOS and How a Single Line Fixed It
WecTeam
WecTeam
Oct 11, 2019 · Frontend Development

How to Build a JSON Editor with Electron: From Setup to Production

This article walks through creating a GUI‑based JSON editor for the Social Cube platform using Electron, covering environment setup, dual webpack configurations, IPC communication, data persistence with Dexie, real‑time file syncing, context menus, logging, packaging with electron‑builder, and update handling, all illustrated with code snippets.

DexieElectronIPC
0 likes · 23 min read
How to Build a JSON Editor with Electron: From Setup to Production
WecTeam
WecTeam
Oct 9, 2019 · Backend Development

Build a Simple Mocha Clone from Scratch: Step‑by‑Step Guide

This article walks through creating a lightweight Mocha‑like testing framework in JavaScript, covering BDD‑style APIs, directory layout, suite and test class design, hook handling, asynchronous support, a runner that traverses the suite‑test tree, and a reporter that outputs test results.

BDDFrameworkJavaScript
0 likes · 21 min read
Build a Simple Mocha Clone from Scratch: Step‑by‑Step Guide
WecTeam
WecTeam
Sep 27, 2019 · Backend Development

How We Reduced Server CPU Usage by 20% with Vue Render Function Optimizations

This article details how the MPM page rendering service at JD.com was profiled with v8‑profiler, identified heavy replace and compile calls, and applied string‑splitting, Vue transformCode hooks, and a custom lightweight compiler to cut CPU consumption by roughly 20%, improving stability during traffic spikes.

Node.jsPerformance optimizationServer Rendering
0 likes · 24 min read
How We Reduced Server CPU Usage by 20% with Vue Render Function Optimizations
WecTeam
WecTeam
Sep 24, 2019 · Frontend Development

Mastering Front-End Resource Governance: Boost Efficiency and Collaboration

This article explores the concept of front-end resource governance, outlining its definition, common challenges in large-scale projects, and practical implementation strategies such as page management, static analysis, system integration, and bidirectional dependency queries to improve development efficiency.

engineeringfrontendpage management
0 likes · 17 min read
Mastering Front-End Resource Governance: Boost Efficiency and Collaboration
WecTeam
WecTeam
Sep 20, 2019 · Frontend Development

Six Creative Techniques to Build a Guide Overlay Without Images

This tutorial explains six different approaches—using z-index, opacity, borders, box‑shadow, element cloning, and canvas—to create a guide overlay (mask layer) that highlights specific page areas without relying on image assets, complete with code examples and visual demos.

JavaScriptOverlayWeb development
0 likes · 18 min read
Six Creative Techniques to Build a Guide Overlay Without Images
WecTeam
WecTeam
Sep 17, 2019 · Frontend Development

How to Make Web Pages Battery‑Friendly: Power‑Saving Tips for Front‑End Developers

This article explains the main factors that drain battery power on mobile and laptop browsers and provides practical front‑end techniques—such as minimizing timers, using CSS animations, leveraging visibility APIs, and optimizing network requests—to keep web pages energy‑efficient and extend user device battery life.

Battery LifeJavaScriptWebKit
0 likes · 11 min read
How to Make Web Pages Battery‑Friendly: Power‑Saving Tips for Front‑End Developers
WecTeam
WecTeam
Sep 13, 2019 · Frontend Development

How to Build a Custom YAML Loader for Webpack: From Basics to AST Parsing

This guide explains what loaders are in Webpack, walks through creating a simple yaml-loader that converts YAML to JSON, shows how to integrate it with webpack configuration, and demonstrates a more advanced AST‑based implementation with best‑practice development tips.

WebpackYAMLloader
0 likes · 9 min read
How to Build a Custom YAML Loader for Webpack: From Basics to AST Parsing
WecTeam
WecTeam
Sep 10, 2019 · Frontend Development

Deploy Native JavaScript Modules in Production: Best Practices & Performance Gains

This article explains how modern browsers now support native ES2015 modules, why earlier performance concerns were based on outdated tests, and provides detailed guidance on using Rollup, code‑splitting, dynamic imports, modulepreload, and polyfills to achieve faster, smaller, and future‑proof web applications.

Code SplittingESModulesJavaScript
0 likes · 21 min read
Deploy Native JavaScript Modules in Production: Best Practices & Performance Gains