WeChatFE
Author

WeChatFE

Tencent WeChat Public Platform Frontend Team

15
Articles
0
Likes
10
Views
0
Comments
Recent Articles

Latest from WeChatFE

15 recent articles
WeChatFE
WeChatFE
Apr 28, 2016 · Frontend Development

How to Use vConsole for Real-Time Mobile Web Debugging

This guide explains how to integrate the vConsole front‑end debugging panel into mobile web pages, showing how to view colored console logs, access system information, and conditionally load the tool for development environments.

JavaScriptfront-end loggingmobile debugging
0 likes · 6 min read
How to Use vConsole for Real-Time Mobile Web Debugging
WeChatFE
WeChatFE
Apr 25, 2016 · Frontend Development

Mastering UglifyJS: Advanced While, Conditional, Block, and IF Optimizations

This article continues the deep dive into UglifyJS compression, presenting advanced techniques for optimizing while loops, ternary conditional expressions, statement blocks, and IF branches, including rules for removing dead code, merging statements, and transforming structures to achieve maximal size reduction in JavaScript output.

JavaScriptUglifyJScode compression
0 likes · 7 min read
Mastering UglifyJS: Advanced While, Conditional, Block, and IF Optimizations
WeChatFE
WeChatFE
Apr 14, 2016 · Frontend Development

Master UglifyJS: Proven Techniques to Shrink JavaScript Size

This article explains how UglifyJS can dramatically reduce JavaScript file size by applying expression pre‑computation, operator shortening, dead code removal, and other advanced compression rules, illustrated with clear before‑and‑after code examples for each optimization.

JavaScript minificationUglifyJScode compression
0 likes · 10 min read
Master UglifyJS: Proven Techniques to Shrink JavaScript Size
WeChatFE
WeChatFE
Mar 22, 2016 · Frontend Development

How to Build a Simple Virtual DOM in 300–400 Lines of Code

This article explains how to implement a basic Virtual DOM algorithm in 300–400 lines of JavaScript, covering state‑management motivations, tree representation, diffing, and patching, with step‑by‑step code examples and visual illustrations to help developers understand and build their own lightweight Virtual DOM library.

Diff AlgorithmVirtual DOMdom manipulation
0 likes · 13 min read
How to Build a Simple Virtual DOM in 300–400 Lines of Code