Tagged articles
2421 articles
Page 20 of 25
MaoDou Frontend Team
MaoDou Frontend Team
Jun 6, 2019 · Frontend Development

Safari Can’t Parse ‘2018‑12‑10 11:11:11’: Why and How to Fix It

This article explains why Safari on iOS throws “Invalid Date” for date strings like “2018‑12‑10 11:11:11”, demonstrates the incompatibility with Chrome, and provides a simple regex‑based solution to convert the format so the date parses correctly across browsers.

Date ParsingJavaScriptMobile Development
0 likes · 3 min read
Safari Can’t Parse ‘2018‑12‑10 11:11:11’: Why and How to Fix It
AutoHome Frontend
AutoHome Frontend
Jun 3, 2019 · Frontend Development

Boost JavaScript Type Safety in VS Code with JSDoc Annotations

Learn how to enable static type checking for JavaScript in Visual Studio Code using JSDoc comments, covering configuration, type definitions, generics, type casting, and runtime safeguards to improve code reliability without a separate build step.

JSDocJavaScriptStatic Type Checking
0 likes · 20 min read
Boost JavaScript Type Safety in VS Code with JSDoc Annotations
21CTO
21CTO
May 22, 2019 · Fundamentals

Which Programming Language Should You Learn Next? A Practical Guide

This article reviews the top ten programming languages, explains why learning multiple languages matters, and offers practical advice on choosing the most beneficial language for your career, covering Java, JavaScript, Python, Kotlin, Go, C#, Swift, Rust, PHP, and C/C++.

Career DevelopmentJavaScriptLearning Guide
0 likes · 8 min read
Which Programming Language Should You Learn Next? A Practical Guide
Baidu App Technology
Baidu App Technology
May 22, 2019 · Frontend Development

San Framework Performance Evolution: A MVVM Framework's Optimization Journey

The article chronicles San, Baidu’s MVVM framework, detailing how template parsing, hotspot pre‑heating, cloneNode element creation, property‑handler caching, traversal interruption, list‑rendering shortcuts like trackBy, and numerous micro‑optimizations such as avoiding call/apply and extra loops collectively boost view creation and update performance.

BaiduJavaScriptMVVM framework
0 likes · 26 min read
San Framework Performance Evolution: A MVVM Framework's Optimization Journey
MaoDou Frontend Team
MaoDou Frontend Team
May 20, 2019 · Frontend Development

Mastering React Hooks: Practical Guide, Patterns, and Performance Tips

This article explains React Hooks introduced in version 16.8, their backward‑compatible design, how they replace class components, and provides detailed guidance on using useState, useEffect, custom hooks, useReducer, useRef, useMemo, useCallback, and related linting rules with performance‑focused examples.

JavaScriptReacthooks
0 likes · 16 min read
Mastering React Hooks: Practical Guide, Patterns, and Performance Tips
360 Tech Engineering
360 Tech Engineering
May 14, 2019 · Frontend Development

What’s New in JavaScript: V8 Performance Boosts and New Language Features

The article summarizes the latest JavaScript enhancements presented by the V8 team at Google I/O, covering massive async performance gains, new engine components like TurboFan and Orinoco, and a suite of language features such as class fields, private members, numeric separators, bigint, extended Intl APIs, top‑level await, Promise.allSettled/any, and WeakRef, illustrated with practical code examples.

AsyncJavaScriptPromise
0 likes · 12 min read
What’s New in JavaScript: V8 Performance Boosts and New Language Features
Tencent Cloud Developer
Tencent Cloud Developer
Apr 30, 2019 · Cloud Computing

WeChat Mini Program Cloud Development: Electronic Business Card Creation, Sharing, and Access Notification

This guide walks through building an electronic business card in a WeChat Mini Program with Cloud Development, covering account setup, data CRUD, single‑ and multi‑image upload, AI‑powered OCR, custom QR‑code generation for sharing, and automated template‑message alerts when the card is viewed, demonstrating reduced backend effort.

AI RecognitionElectronic Business CardJavaScript
0 likes · 8 min read
WeChat Mini Program Cloud Development: Electronic Business Card Creation, Sharing, and Access Notification
21CTO
21CTO
Apr 29, 2019 · Frontend Development

Which JavaScript Chart Library Is Right for Your Project? Top 10 High‑Performance Picks

This article reviews ten high‑performance JavaScript chart libraries—amCharts, AnyChart, Chart.js, Chartist.js, D3.js, FusionCharts, Google Charts, Highcharts, Plotly.js, and ZingChart—detailing their main features, pricing models, and where to find documentation, helping developers choose the best tool for their data‑visualisation needs.

Data visualizationJavaScriptWeb Development
0 likes · 18 min read
Which JavaScript Chart Library Is Right for Your Project? Top 10 High‑Performance Picks
MaoDou Frontend Team
MaoDou Frontend Team
Apr 28, 2019 · Frontend Development

How JavaScript ASTs Power Babel, UglifyJS, and Code Transformations

This article explains what an Abstract Syntax Tree (AST) is, its role in JavaScript tooling such as Babel, UglifyJS, and type checking, details the lexical and syntactic analysis stages of AST generation, and demonstrates a practical Babel plugin example that modifies console output using visitors.

ASTJavaScriptVisitor Pattern
0 likes · 6 min read
How JavaScript ASTs Power Babel, UglifyJS, and Code Transformations
Wukong Talks Architecture
Wukong Talks Architecture
Apr 27, 2019 · Frontend Development

Understanding AJAX: Principles, Form Submission, XMLHttpRequest, jQuery Implementation, Advantages and Disadvantages

This article explains the fundamentals of AJAX, including its definition, the need for asynchronous communication, how form submissions work, the XMLHttpRequest object methods and properties, jQuery implementations, advantages, disadvantages, and typical application and non‑application scenarios, with complete code examples.

AsynchronousJavaScriptWeb Development
0 likes · 15 min read
Understanding AJAX: Principles, Form Submission, XMLHttpRequest, jQuery Implementation, Advantages and Disadvantages
Wukong Talks Architecture
Wukong Talks Architecture
Apr 25, 2019 · Frontend Development

Understanding AJAX: Principles, Form Submission, XMLHttpRequest, jQuery Implementation, Advantages and Disadvantages

This article explains the concept of AJAX, why asynchronous communication is needed, how to submit forms and handle server responses using raw XMLHttpRequest and jQuery, compares GET and POST methods, and outlines the benefits, drawbacks, and suitable scenarios for AJAX in web development.

AsynchronousJavaScriptWeb Development
0 likes · 12 min read
Understanding AJAX: Principles, Form Submission, XMLHttpRequest, jQuery Implementation, Advantages and Disadvantages
Mafengwo Technology
Mafengwo Technology
Apr 18, 2019 · Frontend Development

How to Build an Efficient Front‑End Monitoring Data Collection System

This article explains why front‑end monitoring is essential for user experience, outlines the key data types to collect, and provides practical AOP‑based implementations for route changes, JavaScript errors, performance metrics, resource failures, API calls, and reliable log reporting.

JavaScriptaopdata collection
0 likes · 14 min read
How to Build an Efficient Front‑End Monitoring Data Collection System
iQIYI Technical Product Team
iQIYI Technical Product Team
Apr 12, 2019 · Frontend Development

Design and Implementation of a JavaScript Automatic Binding Tool for the iQIYI RND Framework

The paper presents a custom JavaScript automatic binding tool for iQIYI’s React Node Desktop framework that parses C++ headers with libclang, applies user‑written YAML rules, generates multi‑inheritance‑aware wrappers via the Mate abstraction, and abstracts engine specifics through a Node‑Addon‑API‑based common layer to support both V8 and JavaScriptCore.

BindingC++JavaScript
0 likes · 24 min read
Design and Implementation of a JavaScript Automatic Binding Tool for the iQIYI RND Framework
Tencent Cloud Developer
Tencent Cloud Developer
Apr 11, 2019 · Mobile Development

Building a Markdown Content Publishing System with WeChat Mini‑Program Cloud Development

The guide walks through creating a full‑stack markdown publishing system for a WeChat mini‑program using Cloud Development, detailing project initialization, defining an “article” collection, importing .md files via cloud functions, displaying lists, rendering markdown on detail pages, and debugging cloud functions without a separate backend.

ComiJavaScriptOmi
0 likes · 12 min read
Building a Markdown Content Publishing System with WeChat Mini‑Program Cloud Development
360 Tech Engineering
360 Tech Engineering
Apr 2, 2019 · Frontend Development

Development Guide for the 360 AI Speaker Official Website

This article details the practical implementation of the 360 AI speaker's landing page, covering screen‑resolution analysis, large‑image rendering choices, responsive rem‑based typography, HTML structure, CSS positioning, custom web‑font integration, and a pure‑CSS sticky‑footer solution, all built under tight time constraints.

CSSHTMLJavaScript
0 likes · 13 min read
Development Guide for the 360 AI Speaker Official Website
Tencent Cloud Developer
Tencent Cloud Developer
Mar 28, 2019 · Mobile Development

Community Mini-Program Feature Implementation Using Cloud Development

The guide shows how to create a WeChat community mini‑program with cloud development that lets users post text and up to six images, implements home, publishing, and personal‑center pages, handles data pagination, image preview and deletion, stores posts in cloud collections, manages user authorization and avatar display, and addresses typical permission and refresh problems.

JavaScriptUser AuthenticationWXML
0 likes · 12 min read
Community Mini-Program Feature Implementation Using Cloud Development
Tencent Music Tech Team
Tencent Music Tech Team
Mar 22, 2019 · Frontend Development

How to Build a Frontend User‑Behavior Tracing System for Debugging External Network Issues

This article analyzes the challenges of reproducing external‑network bugs, outlines common failure causes, and presents a complete design for a JavaScript SDK that records environment data, AJAX calls, errors, and user actions, stores them in IndexedDB, and visualizes the timeline for efficient troubleshooting.

IndexedDBJavaScriptUser Behavior Tracking
0 likes · 15 min read
How to Build a Frontend User‑Behavior Tracing System for Debugging External Network Issues
21CTO
21CTO
Mar 14, 2019 · Blockchain

Essential Guide to Blockchain Programming: Top Languages, Platforms, and Use Cases

This article explores blockchain programming fundamentals, compares public and permissioned chains, reviews major development platforms, and evaluates the top five languages—C++, JavaScript, Python, Go, and Solidity—highlighting their strengths, weaknesses, and real‑world blockchain applications.

BlockchainDAppJavaScript
0 likes · 11 min read
Essential Guide to Blockchain Programming: Top Languages, Platforms, and Use Cases
21CTO
21CTO
Mar 1, 2019 · Frontend Development

Why Omi Is the Next‑Gen Frontend Framework for Cross‑Platform Development

The article introduces Tencent’s open‑source Omi framework, a next‑generation frontend solution built on Web Components that enables developers to write code once and deploy it across desktop web, mobile H5, and various mini‑program platforms, highlighting its features, setup commands, debugging tools, and React‑to‑Omi component conversion.

JavaScriptOmifrontend framework
0 likes · 5 min read
Why Omi Is the Next‑Gen Frontend Framework for Cross‑Platform Development
MaoDou Frontend Team
MaoDou Frontend Team
Feb 25, 2019 · Frontend Development

Master JavaScript Promises: From Basics to Advanced API

This article explains what JavaScript Promises are, their immutable states, advantages and drawbacks, details the constructor, instance and static methods, provides code examples, and walks through the source implementations of resolve, reject, all, and race.

APIAsynchronousJavaScript
0 likes · 8 min read
Master JavaScript Promises: From Basics to Advanced API
Tencent Cloud Developer
Tencent Cloud Developer
Feb 20, 2019 · Cloud Computing

WePY and Cloud Development: Practical Guide and Best Practices

The guide explains how to combine WePY’s Vue‑style component model with Tencent Cloud Development—showing project initialization, cloud‑function setup, common pitfalls, and a token‑caching example—so developers can build and launch a full mini‑program in roughly 24 hours while competing for best‑practice prizes.

JavaScriptMini ProgramTencent Cloud
0 likes · 9 min read
WePY and Cloud Development: Practical Guide and Best Practices
UC Tech Team
UC Tech Team
Feb 18, 2019 · Frontend Development

React Hooks – Introduction, Usage, Tooling, and Changelog

This article introduces React Hooks, explains how they enable state and other React features without classes, provides official resources, outlines migration advice, details supported packages, tooling integrations, testing APIs, installation methods, and summarizes the changelog and post‑alpha updates for the stable 16.8 release.

ESLintInstallationJavaScript
0 likes · 12 min read
React Hooks – Introduction, Usage, Tooling, and Changelog
Qunar Tech Salon
Qunar Tech Salon
Feb 15, 2019 · Backend Development

Introduction to Nomi.js: A Node.js Micro Framework for Backend Development

This article introduces Nomi.js, a lightweight Node.js micro‑framework built on Koa2, explains its design goals and pain‑points it solves, outlines its key features, and provides step‑by‑step instructions with code examples for installing the CLI, initializing a project, and creating MVC‑style controllers and services.

JavaScriptMVCMicroframework
0 likes · 7 min read
Introduction to Nomi.js: A Node.js Micro Framework for Backend Development
21CTO
21CTO
Feb 6, 2019 · Backend Development

Why Choose the MEAN Stack for Your Next Web Project?

This article explains the MEAN stack—MongoDB, Express.js, AngularJS, and Node.js—detailing each component, comparing it with LAMP/LNMP, and highlighting its JavaScript‑centric, cost‑effective, open‑source advantages for modern web development.

AngularJSExpress.jsJavaScript
0 likes · 7 min read
Why Choose the MEAN Stack for Your Next Web Project?
UC Tech Team
UC Tech Team
Feb 1, 2019 · Frontend Development

CSS and JS Are at War – How to Stop It

The article examines the perceived conflict between JavaScript and CSS/UX developers, explains how community segregation and social media amplify the divide, and proposes practical steps for fostering collaboration and reducing the "JS vs CSS" war in front‑end development.

CSSJavaScriptUX
0 likes · 6 min read
CSS and JS Are at War – How to Stop It
UC Tech Team
UC Tech Team
Jan 21, 2019 · Frontend Development

New ES2018 Features Every JavaScript Developer Should Know

The article introduces the major ES2018 additions—including rest/spread properties, asynchronous iteration, Promise.prototype.finally, and four RegExp enhancements—explains their syntax and usage with examples, and lists Node.js versions that support each feature, helping developers adopt the latest JavaScript capabilities.

ES2018JavaScriptNode.js
0 likes · 13 min read
New ES2018 Features Every JavaScript Developer Should Know
Programmer DD
Programmer DD
Jan 9, 2019 · Fundamentals

How to Find the Peak in a Bitonic Array Using Binary Search

This article presents a JavaScript solution for locating the maximum element in a bitonic (first increasing then decreasing) array, explaining that the problem is a variant of binary search and providing a complete implementation using a binary‑search‑based algorithm.

Binary SearchJavaScriptalgorithm
0 likes · 3 min read
How to Find the Peak in a Bitonic Array Using Binary Search
AutoHome Frontend
AutoHome Frontend
Jan 7, 2019 · Frontend Development

From Callbacks to Async/Await: Mastering JavaScript Asynchronous Programming

This article walks through the evolution of JavaScript asynchronous patterns—from basic callbacks and their pitfalls, through Promise creation, chaining, and error handling, to the modern async/await syntax—showing how to write clear, maintainable code for real‑world API calls.

AsynchronousCallbacksJavaScript
0 likes · 22 min read
From Callbacks to Async/Await: Mastering JavaScript Asynchronous Programming
AI Large-Model Wave and Transformation Guide
AI Large-Model Wave and Transformation Guide
Jan 6, 2019 · Artificial Intelligence

Can JavaScript Teach k‑Nearest Neighbors? Build a Visual kNN Classifier from Scratch

This article walks through the theory of k‑nearest‑neighbors, explains feature selection and normalization, shows how to implement the algorithm with plain JavaScript classes, visualizes results on an HTML canvas, and discusses practical limitations and extensions.

JavaScriptalgorithm implementationfeature normalization
0 likes · 22 min read
Can JavaScript Teach k‑Nearest Neighbors? Build a Visual kNN Classifier from Scratch
Tencent Cloud Developer
Tencent Cloud Developer
Jan 3, 2019 · Mobile Development

Building a Lightweight Note‑Taking Mini Program with WeChat Cloud Development

The article describes how to quickly build a lightweight WeChat Mini Program for note‑taking using Cloud Development, covering registration, cloud setup, and core code for creating, querying, and editing notes with text and images, while eliminating the need for separate servers, domains, and certificates.

JavaScriptWeChat Mini Programcloud development
0 likes · 13 min read
Building a Lightweight Note‑Taking Mini Program with WeChat Cloud Development
21CTO
21CTO
Jan 1, 2019 · Artificial Intelligence

What Tech Trends Will Dominate 2019? AI, 5G, PWA, Blockchain & More

The article forecasts the major technology trends for 2019, highlighting the rise of artificial intelligence, the transition beyond smartphones to wearable interfaces, global 5G deployment, the surge of progressive web apps, expanding blockchain applications, low‑code development, cloud services growth, and the continued dominance of JavaScript and modern development practices.

5GArtificial IntelligenceJavaScript
0 likes · 12 min read
What Tech Trends Will Dominate 2019? AI, 5G, PWA, Blockchain & More
UC Tech Team
UC Tech Team
Dec 28, 2018 · Frontend Development

Using Chrome DevTools Console Shortcuts: $, $$, $_, and $i

This article introduces Chrome DevTools console shortcuts—including $0‑$4 for element references, $ and $$ for query selectors, $_ for the last expression result, and $i for importing npm libraries—explaining their usage to streamline front‑end debugging and testing.

Chrome DevToolsJavaScriptconsole
0 likes · 3 min read
Using Chrome DevTools Console Shortcuts: $, $$, $_, and $i
UC Tech Team
UC Tech Team
Dec 25, 2018 · Backend Development

19 Ways to Become a Better Node.js Developer in 2019

The article presents 19 practical recommendations for Node.js developers in 2019, covering type systems, linters, architecture, async hooks, serverless, emerging JavaScript features, API design, testing strategies, security, package management, deployment, Kubernetes, blockchain, machine learning, open‑source exploration, Linux internals, and scientific learning methods.

BackendJavaScriptNode.js
0 likes · 18 min read
19 Ways to Become a Better Node.js Developer in 2019
JD Tech
JD Tech
Dec 24, 2018 · Mobile Development

Introducing ARES Cross‑Platform Mobile Development Solution and Mini‑Program Conversion Tool

The article presents ARES, JD.com's cross‑platform mobile application framework comprising Engines, Websites, Studio, Store, and Console, and details its mini‑program conversion tool that bridges ARES Engines with WeChat mini‑programs through command‑line usage, AST manipulation, runtime integration, component alignment, third‑party library support, routing, animation, and conversion constraints.

ASTJavaScriptReact Native
0 likes · 13 min read
Introducing ARES Cross‑Platform Mobile Development Solution and Mini‑Program Conversion Tool
UC Tech Team
UC Tech Team
Dec 21, 2018 · Frontend Development

HTM: A Zero‑Compiler JSX‑Like Syntax for JavaScript

HTM is a pure‑JavaScript library that implements a JSX‑like syntax without a compiler, offering sub‑kilobyte bundle sizes, seamless integration with React/Preact, ergonomic syntax enhancements, and a new Babel plugin that dramatically improves performance and flexibility for frontend developers.

HTMJSXJavaScript
0 likes · 4 min read
HTM: A Zero‑Compiler JSX‑Like Syntax for JavaScript
Qunar Tech Salon
Qunar Tech Salon
Dec 21, 2018 · Frontend Development

Using Web Share Target API to Receive Shared Content on Websites

This article explains how to register a website as a share target using the Web Share Target API, update the manifest file, handle incoming shared data with JavaScript, and outlines browser support, usage scenarios, and example implementations for modern front‑end development.

JavaScriptProgressive Web AppWeb API
0 likes · 7 min read
Using Web Share Target API to Receive Shared Content on Websites
Qunar Tech Salon
Qunar Tech Salon
Dec 20, 2018 · Frontend Development

Introduction to the Web Share API: Usage, Syntax, and Browser Support

This article introduces the Web Share API, explaining its purpose, syntax, usage examples, browser compatibility, and best practices for integrating native sharing functionality into mobile web pages; it also covers required HTTPS conditions, user‑gesture triggers, and provides sample ES6 code snippets for developers.

JavaScriptMobile WebWeb Share API
0 likes · 7 min read
Introduction to the Web Share API: Usage, Syntax, and Browser Support
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Dec 19, 2018 · Frontend Development

Can WebAssembly Speed Up Browser File Scanning? A Real‑World Performance Study

This article explores how WebAssembly, compiled via Emscripten from C/C++ code, can accelerate file‑scanning tasks in a web‑based email attachment uploader, detailing the compilation pipeline, runtime communication, performance benchmarks against pure JavaScript, and practical optimizations for worker‑based processing.

EmscriptenJavaScriptWasm
0 likes · 18 min read
Can WebAssembly Speed Up Browser File Scanning? A Real‑World Performance Study
JavaScript
JavaScript
Dec 14, 2018 · Backend Development

How to Process Chinese Input in Node.js: Trim, Replace, and Output

This guide demonstrates how to configure Node.js stdin for UTF-8, read incoming Chinese text, remove question particles and punctuation, replace question marks with exclamation marks, and output the transformed strings, with clear code examples and expected results.

Chinese text processingJavaScriptNode.js
0 likes · 1 min read
How to Process Chinese Input in Node.js: Trim, Replace, and Output
Qunar Tech Salon
Qunar Tech Salon
Dec 13, 2018 · Frontend Development

Understanding Babel: History, Usage, and Custom Plugin Development

This article introduces Babel as a popular JavaScript compiler, explains its origin, demonstrates basic installation and configuration, shows how arrow functions are transformed, and guides readers through creating a simple custom Babel plugin using visitors and AST manipulation.

ASTJavaScriptbabel
0 likes · 10 min read
Understanding Babel: History, Usage, and Custom Plugin Development
Java Captain
Java Captain
Dec 12, 2018 · Backend Development

Configuring Spring MVC with JSP, JSTL, Custom Tags, and JavaScript for a Seckill Application

This tutorial demonstrates how to configure Spring MVC in a Java web project by modifying web.xml, creating DispatcherServlet, implementing controllers and DTOs, setting up JSP pages with Bootstrap, handling JSTL date formatting using custom tags for Java 8 LocalDateTime, and integrating modular JavaScript for a seckill (flash sale) application.

BootstrapCustom TagsJSP
0 likes · 17 min read
Configuring Spring MVC with JSP, JSTL, Custom Tags, and JavaScript for a Seckill Application
UC Tech Team
UC Tech Team
Dec 11, 2018 · Frontend Development

Binary AST Proposal: Accelerating JavaScript Parsing Performance

The Binary AST proposal introduces a three‑layer binary encoding for JavaScript abstract syntax trees, aiming to reduce parsing time by up to 90 % and improve web application startup performance, with early prototypes showing promising results and growing community interest.

Binary ASTJavaScriptWebAssembly
0 likes · 6 min read
Binary AST Proposal: Accelerating JavaScript Parsing Performance
21CTO
21CTO
Dec 8, 2018 · Fundamentals

Which Open‑Source Language to Learn Next? PHP, Python, JavaScript, Ruby & Go Compared

The article examines the popularity of five open‑source programming languages—PHP, Python, JavaScript, Ruby, and Go—by evaluating their community size, typical use cases, dominant frameworks, and career prospects, helping developers choose the most suitable language for web, backend, or emerging applications.

JavaScriptPHPPython
0 likes · 7 min read
Which Open‑Source Language to Learn Next? PHP, Python, JavaScript, Ruby & Go Compared
MaoDou Frontend Team
MaoDou Frontend Team
Dec 7, 2018 · Frontend Development

Unlock Vue-Awesome-Swiper: Essential Settings for 3D Carousel Effects

This guide walks through using vue-awesome-swiper in Vue projects, covering version differences, required CSS imports, component setup, and key configuration options such as slidesPerView, centeredSlides, and the coverflow effect, plus progress callbacks and code snippets for dynamic flash‑sale carousels.

CarouselComponentJavaScript
0 likes · 5 min read
Unlock Vue-Awesome-Swiper: Essential Settings for 3D Carousel Effects
UC Tech Team
UC Tech Team
Nov 28, 2018 · Frontend Development

React 16 Roadmap: Upcoming Features and Release Timeline

This article outlines the React 16 roadmap, detailing the planned release schedule for Suspense code‑splitting, Hooks, Concurrent Mode, data‑fetching Suspense, and related experimental projects, while explaining their current status across React DOM, server rendering, and React Native.

Concurrent ModeJavaScriptReact
0 likes · 13 min read
React 16 Roadmap: Upcoming Features and Release Timeline
Tencent Cloud Developer
Tencent Cloud Developer
Nov 27, 2018 · Mobile Development

Developing a Mini Program with Cloud Functions: Posting, Viewing, and Commenting

Using the cloud‑development model, the author built a mini‑program that lets users publish posts with optional images, browse a list of posts, view details, and add comments, leveraging cloud functions for CRUD operations, cloud database for storage, and cloud storage for images, while noting the rapid prototyping advantage and the modest 2 GB database and 5 GB storage limits.

Cloud FunctionsJavaScriptMini Program
0 likes · 9 min read
Developing a Mini Program with Cloud Functions: Posting, Viewing, and Commenting
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Nov 26, 2018 · Backend Development

Build Your Own Koa Framework from Scratch: A Step‑by‑Step Guide

This article walks you through creating a lightweight Koa 2 framework by explaining its core modules—application, request, response, and context—showing how to implement the HTTP server wrapper, the onion‑style middleware composition, and robust error handling with code examples for each step.

BackendFrameworkJavaScript
0 likes · 18 min read
Build Your Own Koa Framework from Scratch: A Step‑by‑Step Guide
UC Tech Team
UC Tech Team
Nov 23, 2018 · Frontend Development

Analysis of the State of JavaScript 2018 Survey Results

The 2018 State of JavaScript survey, answered by over 20,000 developers worldwide, reveals current preferences in languages, frameworks, tools, testing libraries, and emerging trends such as GraphQL and React Hooks, offering valuable insights for front‑end engineers.

JavaScriptReactState Management
0 likes · 7 min read
Analysis of the State of JavaScript 2018 Survey Results
21CTO
21CTO
Nov 20, 2018 · Frontend Development

What JavaScript Trends Dominated 2018? Insights from the State of JS Survey

Based on the 2018 State of JS survey of over 20,000 developers, this article highlights the rise of ES6 and TypeScript, the dominance of React and Vue, the popularity of Redux and GraphQL, the steady use of Node frameworks, and emerging tools for testing, mobile, and desktop development.

Backend FrameworksJavaScriptstate of js
0 likes · 5 min read
What JavaScript Trends Dominated 2018? Insights from the State of JS Survey
UC Tech Team
UC Tech Team
Nov 20, 2018 · Frontend Development

State of JavaScript 2018: Trends in Frontend Frameworks, Flavors, and the JavaScript Ecosystem

The 2018 State of JavaScript report, based on responses from over 20,000 developers worldwide, reveals the most popular JavaScript flavors, front‑end frameworks, data‑layer tools, backend frameworks, testing libraries, and mobile/desktop runtimes, highlighting shifting preferences, satisfaction levels, and emerging technologies in the ecosystem.

JavaScriptReactframeworks
0 likes · 8 min read
State of JavaScript 2018: Trends in Frontend Frameworks, Flavors, and the JavaScript Ecosystem
AutoHome Frontend
AutoHome Frontend
Nov 19, 2018 · Frontend Development

5 Practical JavaScript Tricks to Write Cleaner Conditional Logic

This article presents five useful JavaScript techniques—using Array.includes, early returns, default parameters with destructuring, object literals or Map instead of switch, and Array.every/Array.some—to simplify and make conditional statements more readable and maintainable.

Code RefactoringDefault ParametersJavaScript
0 likes · 10 min read
5 Practical JavaScript Tricks to Write Cleaner Conditional Logic
UC Tech Team
UC Tech Team
Nov 13, 2018 · Fundamentals

Understanding Higher-Order Functions in JavaScript

This article explains what higher‑order functions are, why JavaScript supports functional programming, demonstrates built‑in methods like map, filter and reduce with code examples, and shows how to create your own higher‑order function for clearer, more concise code.

Higher-Order FunctionsJavaScriptMAP
0 likes · 8 min read
Understanding Higher-Order Functions in JavaScript
Youzan Coder
Youzan Coder
Nov 9, 2018 · Frontend Development

Building a Simple Virtual DOM Diff Algorithm: From Concept to Code

This article explains the Virtual DOM concept, outlines a state‑driven rendering approach, implements a minimal Virtual DOM (VD) structure, creates a diff algorithm to generate patch objects, applies those patches to the real DOM, and compares its performance with full re‑rendering.

DOM PatchingDiff AlgorithmJavaScript
0 likes · 8 min read
Building a Simple Virtual DOM Diff Algorithm: From Concept to Code
21CTO
21CTO
Nov 6, 2018 · Frontend Development

Speed Up Electron Development with Electron Fiddle: A Quick Start Guide

This article introduces Electron Fiddle, explains how to install and run it, and demonstrates its key features such as template creation, code sharing via GitHub Gist, Monaco editor integration, and packaging apps for Windows, macOS, and Linux.

Desktop DevelopmentElectronFiddle
0 likes · 3 min read
Speed Up Electron Development with Electron Fiddle: A Quick Start Guide
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Nov 6, 2018 · Frontend Development

Master Image Lazy Loading: From Scroll Events to IntersectionObserver

This article explains why loading all images in a long list hurts performance, presents step‑by‑step lazy‑loading techniques—including placeholder images, scroll calculations, getBoundingClientRect, and the modern IntersectionObserver API—provides full code samples, and discusses optimization tips for smoother front‑end experiences.

IntersectionObserverJavaScriptimage-optimization
0 likes · 9 min read
Master Image Lazy Loading: From Scroll Events to IntersectionObserver
360 Tech Engineering
360 Tech Engineering
Nov 5, 2018 · Frontend Development

Using the Beacon API for Front‑End Log Reporting

The article explains why traditional image‑based log reporting can interfere with critical front‑end tasks, introduces the Beacon API as an asynchronous, low‑priority solution, and provides practical code examples and usage guidelines to ensure reliable data delivery without impacting user experience.

JavaScriptbeaconfrontend
0 likes · 6 min read
Using the Beacon API for Front‑End Log Reporting
UC Tech Team
UC Tech Team
Oct 31, 2018 · Frontend Development

Implementing Picture-in-Picture (PiP) with the Web API

This article explains how to use the new Picture-in-Picture Web API to enable floating video playback on web pages, covering setup of video and button elements, request handling, error management, event listeners, window‑size tracking, feature detection, and best‑practice UI considerations.

HTML5JavaScriptPicture-in-Picture
0 likes · 8 min read
Implementing Picture-in-Picture (PiP) with the Web API
QQ Music Frontend Team
QQ Music Frontend Team
Oct 27, 2018 · Frontend Development

Build Reusable UI with Web Components: A Step‑by‑Step Counter Example

Learn how to create reusable, encapsulated UI components using Web Components by building a simple counter element with Custom Elements, Templates, Shadow DOM, properties, events, and attributes, and see how to integrate it into any framework, handle data binding, and dispatch custom events.

JavaScriptShadow DOMcustom elements
0 likes · 10 min read
Build Reusable UI with Web Components: A Step‑by‑Step Counter Example
Meitu Technology
Meitu Technology
Oct 26, 2018 · Mobile Development

Building a Hybrid App Bridge: Architecture, Implementation, and Protocol Design

The article details a production‑ready Hybrid app bridge built with a custom bridge.js that enables bidirectional communication between Native code and H5 pages, outlines its four‑step nativeCall flow, Android compatibility tricks, protocol categories, event hub, proxy requests, and a suite of reusable functional APIs.

Hybrid AppJavaScriptMobile Development
0 likes · 14 min read
Building a Hybrid App Bridge: Architecture, Implementation, and Protocol Design
JD Tech
JD Tech
Oct 25, 2018 · Information Security

Common Encryption Methods for Frontend Development

This article introduces the most frequently used encryption techniques in frontend development—including Base64 encoding, hash functions, salting, slow hash algorithms, key‑hashing, XOR, symmetric and asymmetric encryption, digital signatures, and practical CryptoJS usage—explaining their principles, appropriate scenarios, and providing ready‑to‑use code examples.

HashInformation SecurityJavaScript
0 likes · 14 min read
Common Encryption Methods for Frontend Development
UC Tech Team
UC Tech Team
Oct 24, 2018 · Frontend Development

React v16.6.0 Release: New Features such as React.memo, React.lazy, Context API Enhancements, Error Boundaries, and StrictMode Updates

On October 23, React 16.6.0 was released, introducing React.memo for function components, React.lazy with Suspense for code‑splitting, a simpler static contextType API, new error‑boundary methods, and deprecations in StrictMode, along with installation instructions and a detailed changelog.

Error HandlingJavaScriptReact
0 likes · 7 min read
React v16.6.0 Release: New Features such as React.memo, React.lazy, Context API Enhancements, Error Boundaries, and StrictMode Updates
Aotu Lab
Aotu Lab
Oct 23, 2018 · Frontend Development

Mastering Precise Responsive Layouts with vh, vw, and Media Queries

This guide explains how to calculate viewport dimensions for different operating systems and browsers, use CSS viewport units and media queries to create a single-page design that adapts smoothly across desktop and mobile screens, and provides Sass functions and JavaScript logic for robust implementation.

JavaScriptMedia QueriesResponsive Design
0 likes · 11 min read
Mastering Precise Responsive Layouts with vh, vw, and Media Queries
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Oct 23, 2018 · Frontend Development

Mastering JavaScript Macrotasks, Microtasks, and Promise Timing

This article explains the differences between macrotasks and microtasks in the JavaScript event loop, shows how they affect Promise execution, provides practical code examples, and discusses how frameworks like Vue implement task scheduling, helping developers avoid dead‑loops and improve performance.

JavaScriptPromiseevent loop
0 likes · 13 min read
Mastering JavaScript Macrotasks, Microtasks, and Promise Timing
21CTO
21CTO
Oct 22, 2018 · Frontend Development

Stop Unnecessary React Re‑renders: Cache Event Handlers and Master Reference Equality

This article explains how JavaScript reference equality for objects and functions affects React's shallow prop and state comparison, shows common pitfalls that cause needless re‑renders, and provides practical techniques—such as defining functions outside components and caching event listeners—to dramatically improve rendering performance.

JavaScriptReactReference Equality
0 likes · 9 min read
Stop Unnecessary React Re‑renders: Cache Event Handlers and Master Reference Equality
UC Tech Team
UC Tech Team
Oct 22, 2018 · Frontend Development

Shining a Light on JavaScript Performance with Lighthouse

This article explains how Lighthouse can measure JavaScript execution time, reveal unused code through coverage, and offers practical steps—such as sending only needed scripts, minifying, and removing dead code—to reduce JavaScript overhead and improve user experience on web pages.

JavaScriptcode coveragefrontend
0 likes · 4 min read
Shining a Light on JavaScript Performance with Lighthouse
UC Tech Team
UC Tech Team
Oct 19, 2018 · Frontend Development

Understanding Unexpected Behaviors of console.log in Browsers

This article examines why console.log may produce surprising results in different Chrome DevTools states, explains the underlying asynchronous I/O handling, and offers practical debugging advice for developers working with JavaScript in the browser.

AsynchronousJavaScriptbrowser
0 likes · 5 min read
Understanding Unexpected Behaviors of console.log in Browsers
Youzan Coder
Youzan Coder
Oct 19, 2018 · Fundamentals

Understanding NaN in JavaScript: Representation and Comparison

JavaScript’s NaN represents undefined numeric results, appears when operations like Math.sqrt(-1) occur, has multiple binary forms, and is distinguished as Quiet or Signaling; because NaN !== NaN, comparisons rely on special checks such as isnan, with implementations varying across environments like V8 and Apple’s C library.

C libraryJavaScriptNaN
0 likes · 8 min read
Understanding NaN in JavaScript: Representation and Comparison
Qunar Tech Salon
Qunar Tech Salon
Oct 17, 2018 · Frontend Development

Jest Unit Testing Guide for Front-End Development

This article provides a comprehensive guide to using Jest for front‑end unit testing, covering the lack of tests, benefits, installation, basic assertions, matchers, asynchronous testing, lifecycle hooks, mock functions, module mocking, snapshot testing, and best practices to improve code quality and development efficiency.

JavaScriptJestMocking
0 likes · 15 min read
Jest Unit Testing Guide for Front-End Development
UC Tech Team
UC Tech Team
Oct 16, 2018 · Frontend Development

Highlights of V8 7.0 Release: Embedded Built‑ins, WebAssembly Threads, New JavaScript Features, and API Changes

V8 7.0, released on October 15, introduces memory‑saving Embedded built‑ins across platforms, preview support for WebAssembly threads via chrome://flags, new JavaScript features such as Symbol.prototype.description and a stable Array.prototype.sort using TimSort, plus API changes accessible through git logs and checkout commands.

ChromeEmbedded BuiltinsJavaScript
0 likes · 5 min read
Highlights of V8 7.0 Release: Embedded Built‑ins, WebAssembly Threads, New JavaScript Features, and API Changes
JD Tech
JD Tech
Oct 16, 2018 · Fundamentals

Wave Fluctuation Equal Distribution (波动均分) Algorithm: Exhaustive and Quick Allocation Methods

This article introduces the "wave fluctuation equal distribution" algorithm that splits a value into N parts within a bounded range with random variation, explains its characteristics, and provides two JavaScript implementations—an exhaustive enumeration method and a fast random allocation method—along with performance analysis and validation techniques.

JavaScriptalgorithmexhaustive search
0 likes · 7 min read
Wave Fluctuation Equal Distribution (波动均分) Algorithm: Exhaustive and Quick Allocation Methods
Qunar Tech Salon
Qunar Tech Salon
Oct 16, 2018 · Frontend Development

In‑Depth Source Code Analysis of React‑Router (v4/v5) and Its Core Components

This article provides a comprehensive walkthrough of React‑Router's internal architecture, detailing the implementation of key components such as Router, Route, Switch, Redirect, Prompt, Link, and withRouter, while explaining how history, matchPath, and path‑to‑regexp work together to enable client‑side routing in modern React applications.

JavaScriptReactReact Router
0 likes · 19 min read
In‑Depth Source Code Analysis of React‑Router (v4/v5) and Its Core Components
UC Tech Team
UC Tech Team
Oct 12, 2018 · Frontend Development

How Firefox Made Calls Between JavaScript and WebAssembly Faster

This article explains how Mozilla optimized the Firefox engine to dramatically speed up function calls between JavaScript and WebAssembly by reducing bookkeeping, eliminating trampolines, merging activations, applying monomorphic call optimizations, and improving built‑in function handling, resulting in call performance that now exceeds native JavaScript‑to‑JavaScript calls.

EngineFirefoxJavaScript
0 likes · 14 min read
How Firefox Made Calls Between JavaScript and WebAssembly Faster
Youzan Coder
Youzan Coder
Oct 12, 2018 · Frontend Development

Understanding Virtual DOM: Concepts, Implementation, and Mapping to Real DOM

The article explains the Virtual DOM as a lightweight JavaScript object with tag, props, and children, shows how JSX compiles to VD using a custom pragma, provides helper functions to create real DOM from VD, and outlines how batching updates reduces reflows, previewing a future diff algorithm.

Diff AlgorithmFront-endJSX
0 likes · 7 min read
Understanding Virtual DOM: Concepts, Implementation, and Mapping to Real DOM
Weimob Technology Center
Weimob Technology Center
Oct 11, 2018 · Mobile Development

How to Solve Common WeChat Mini‑Program Issues: Dates, Navigation, Images, and More

This article compiles a series of practical solutions for frequent WeChat mini‑program challenges, covering iOS date parsing, live‑stream message throttling, storage sharing, navigation depth limits, floating‑point precision, QR‑code scene length, image preloading, and server‑client time synchronization, with code snippets and explanations.

Date ParsingImage PreloadingJavaScript
0 likes · 9 min read
How to Solve Common WeChat Mini‑Program Issues: Dates, Navigation, Images, and More
UC Tech Team
UC Tech Team
Oct 10, 2018 · Frontend Development

Goodbye JavaScript, Hello WebAssembly: Exploring the Future of Frontend Development

The article examines WebAssembly as an emerging web development paradigm that offers a compiled, language‑agnostic alternative to JavaScript, discusses its integration with .NET via Mono and Blazor, compares tooling like NuGet to npm/WebPack, and highlights both the benefits and the continued need for JavaScript in modern web applications.

JavaScriptWebAssemblyblazor
0 likes · 7 min read
Goodbye JavaScript, Hello WebAssembly: Exploring the Future of Frontend Development
UC Tech Team
UC Tech Team
Oct 8, 2018 · Frontend Development

How to Build a PWA Game with Preact in Five Steps

This tutorial walks you through creating a fully functional progressive web app (PWA) game using Preact, covering functional requirements, UI design, routing, component implementation, game logic, offline support, and deployment in a clear, step‑by‑step manner.

JavaScriptPWAPreact
0 likes · 11 min read
How to Build a PWA Game with Preact in Five Steps
UC Tech Team
UC Tech Team
Oct 5, 2018 · Frontend Development

Why Create React App Should Not Compile Non‑Standard Syntax in node_modules

The article explains that compiling experimental JavaScript features like JSX or class properties inside node_modules tightly couples libraries to build tools, leading to breaking changes, coordination overhead, and prolonged upgrade pain, which is why Create React App avoids such compilation.

JavaScriptReactbabel
0 likes · 4 min read
Why Create React App Should Not Compile Non‑Standard Syntax in node_modules
UC Tech Team
UC Tech Team
Sep 30, 2018 · Backend Development

Rethinking JavaScript Test Coverage with V8 and Node.js

The article explains how Node.js now supports native V8 code‑coverage via the NODE_V8_COVERAGE environment variable, describes the limitations of traditional tools like Istanbul, outlines the benefits and challenges of using V8’s built‑in coverage, and provides practical steps and tools (c8, v8-to-istanbul) to generate readable coverage reports.

JavaScriptNode.jsV8
0 likes · 8 min read
Rethinking JavaScript Test Coverage with V8 and Node.js
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Sep 30, 2018 · Fundamentals

Why Does setTimeout Run After Promise.then? Unraveling JavaScript’s Event Loop

This article explains how JavaScript’s single‑threaded model achieves asynchronous behavior through macro‑tasks and micro‑tasks, compares the browser and Node.js event‑loop implementations, and demonstrates the timing differences between setTimeout, setImmediate, and process.nextTick with practical code examples.

AsyncJavaScriptNode.js
0 likes · 9 min read
Why Does setTimeout Run After Promise.then? Unraveling JavaScript’s Event Loop
Yuewen Frontend Team
Yuewen Frontend Team
Sep 28, 2018 · Frontend Development

Master JavaScript Generators: Control Iteration and Boost Your Code

This article explains ES6 JavaScript generators, covering their syntax, how they differ from regular iterators, the role of the yield keyword, available generator methods, and practical examples such as custom generators, random number streams, throttling, Fibonacci sequences, and integrating generators with HTML to simplify iterative tasks.

AsynchronousIteratorJavaScript
0 likes · 13 min read
Master JavaScript Generators: Control Iteration and Boost Your Code