Tagged articles

JavaScript

2446 articles · Page 21 of 25
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.

FrontendHTML5JavaScript
0 likes · 8 min read
Implementing Picture-in-Picture (PiP) with the Web API
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.

EncryptionFrontendHash
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 handlingFrontendJavaScript
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.

JavaScriptSassViewport Units
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.

FrontendJavaScriptPerformance
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.

FrontendJavaScriptPerformance
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.

JavaScriptasynchronousbrowser
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.

.NETFrontendJavaScript
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.

BabelJavaScriptReAct
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.

Backend DevelopmentJavaScriptNode.js
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.

JavaScriptNode.jsasync
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.

FrontendIteratorJavaScript
0 likes · 13 min read
Master JavaScript Generators: Control Iteration and Boost Your Code
JD Tech Talk
JD Tech Talk
Sep 27, 2018 · Mobile Development

Analyzing and Decompiling WeChat Mini‑Program .wxapkg Files to Recover Source Code

This article explains how to dissect a WeChat mini‑program .wxapkg package, examines the structure and purpose of compiled files such as app‑config.json, app‑service.js, page‑frame.html and resource assets, and provides step‑by‑step Node.js scripts to automatically restore the original source files for further development and debugging.

JavaScriptMiniProgramReverseEngineering
0 likes · 14 min read
Analyzing and Decompiling WeChat Mini‑Program .wxapkg Files to Recover Source Code
UC Tech Team
UC Tech Team
Sep 26, 2018 · Frontend Development

Understanding Date and Time Handling in JavaScript for Internationalization

This article explains JavaScript date and time concepts—including GMT, UTC, ISO 8601, RFC2822, timestamps, parsing, formatting, timezone offsets, localization, and practical internationalization strategies—providing developers with the knowledge to correctly manage time across different regions and platforms.

FrontendInternationalizationJavaScript
0 likes · 12 min read
Understanding Date and Time Handling in JavaScript for Internationalization
UC Tech Team
UC Tech Team
Sep 25, 2018 · Frontend Development

Understanding JavaScript Event Loop: Theory and Practice

This article explains the JavaScript Event Loop mechanism in depth, covering the call stack, heap memory, macro‑ and micro‑tasks, and their queues, and demonstrates the execution order through detailed examples and step‑by‑step visualizations of multiple event‑loop cycles.

JavaScriptNode.jsasync
0 likes · 7 min read
Understanding JavaScript Event Loop: Theory and Practice
UC Tech Team
UC Tech Team
Sep 24, 2018 · Frontend Development

10 Essential JavaScript Array Methods You Should Know

This article introduces ten indispensable JavaScript array methods—including forEach, includes, filter, map, reduce, some, every, sort, Array.from, and Array.of—explaining their purpose, usage, and providing visual examples to help developers efficiently manipulate arrays in web development.

JavaScriptarray methodsfrontend development
0 likes · 4 min read
10 Essential JavaScript Array Methods You Should Know
Youzan Coder
Youzan Coder
Sep 21, 2018 · Fundamentals

First Encounter with Lazy List: Implementing Lazy Evaluation in JavaScript

The article explains Haskell‑style lazy lists, shows why lazy evaluation is useful, and walks through implementing lazy lists in JavaScript using custom classes, the ES6 iterable protocol, and generator functions, providing examples such as repeat, cycle, iterate, range and lazy operators like map, filter, take, and zip.

Functional ProgrammingInfinite ListIterator
0 likes · 10 min read
First Encounter with Lazy List: Implementing Lazy Evaluation in JavaScript
Tencent Cloud Developer
Tencent Cloud Developer
Sep 5, 2018 · Frontend Development

Developing WeChat Mini Programs with Tencent Cloud Serverless Functions

This guide walks developers through creating a WeChat Mini Program using Tencent Cloud's Serverless Cloud Functions, covering IDE installation, project configuration, cloud environment setup, file upload, cloud‑function development, and invoking functions from the Mini Program, enabling a fully serverless backend without traditional servers.

Cloud FunctionsJavaScriptTencent Cloud
0 likes · 10 min read
Developing WeChat Mini Programs with Tencent Cloud Serverless Functions
AutoHome Frontend
AutoHome Frontend
Sep 4, 2018 · Frontend Development

Unlocking Device Sensors in the Browser: A Practical Guide to the Generic Sensor API

This article explains why a unified Generic Sensor API is needed, lists the sensors it supports, and provides step‑by‑step JavaScript examples for creating, configuring, and using sensors such as gyroscope, accelerometer, ambient light, magnetometer, and composite orientation sensors, while also covering privacy considerations and future extensions.

Device APIsGeneric Sensor APIJavaScript
0 likes · 19 min read
Unlocking Device Sensors in the Browser: A Practical Guide to the Generic Sensor API
21CTO
21CTO
Aug 27, 2018 · Frontend Development

Mastering Browser Architecture: From Multi‑Process to JS Event Loop

This comprehensive guide walks experienced front‑end developers through the browser's multi‑process model, internal threading, rendering pipeline, JavaScript single‑threaded execution, event loop mechanics, Web Workers, and performance‑related concepts like macrotasks, microtasks, and hardware‑accelerated compositing.

FrontendJavaScriptPerformance
0 likes · 35 min read
Mastering Browser Architecture: From Multi‑Process to JS Event Loop
Tencent Cloud Developer
Tencent Cloud Developer
Aug 27, 2018 · Mobile Development

WeChat Mini Program Cloud Development: Overview, Advantages, and Common Pitfalls

WeChat Mini Program Cloud Development offers a serverless backend—cloud functions, database, and file storage—exclusively for Mini Programs, providing simple login, generous free tiers, and easy JavaScript integration, while developers must handle promises for async calls and supplement its limited permission model with custom logic.

DatabaseFaaSJavaScript
0 likes · 7 min read
WeChat Mini Program Cloud Development: Overview, Advantages, and Common Pitfalls
Tencent Cloud Developer
Tencent Cloud Developer
Aug 24, 2018 · Cloud Computing

Unlocking WeChat Mini Program Cloud Development: Benefits, Pitfalls & Real‑World Demo

This article introduces WeChat Mini Program Cloud Development, explains its serverless architecture, compares it with PaaS and BaaS solutions, outlines suitable scenarios, highlights advantages such as built‑in login and free storage, warns of common misconceptions, and shares practical tips and a GitHub demo project.

DatabaseJavaScriptMini Program
0 likes · 7 min read
Unlocking WeChat Mini Program Cloud Development: Benefits, Pitfalls & Real‑World Demo
CSS Magic
CSS Magic
Aug 24, 2018 · Frontend Development

Fix Common ESLint Warnings in Existing JavaScript Code (Part 4)

This article explains how to handle the ESLint "no-fallthrough" and "no-undef" rules, showing when to add explicit comments, convert globals to locals, and why the comment‑based fix is often the most efficient for legacy JavaScript code.

ESLintJavaScriptcode quality
0 likes · 6 min read
Fix Common ESLint Warnings in Existing JavaScript Code (Part 4)
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Aug 20, 2018 · Frontend Development

Mastering Browser Processes, Threads, and the JavaScript Event Loop

This comprehensive guide walks you through browser multi‑process architecture, the relationship between processes and threads, the rendering pipeline, Web Workers, and the intricacies of JavaScript's single‑threaded execution and event‑loop mechanisms, providing a solid knowledge framework for front‑end developers.

JavaScriptWeb Workersbrowser
0 likes · 33 min read
Mastering Browser Processes, Threads, and the JavaScript Event Loop
Didi Tech
Didi Tech
Aug 14, 2018 · Frontend Development

Introduction to Chrome Extension Development

Chrome extensions are small HTML‑CSS‑JS programs whose functionality is defined in a manifest.json that lists permissions, icons, and components such as background scripts, content scripts, options pages, and UI actions, with communication via runtime messaging, storage via web or Chrome APIs, and updates managed through an update_url.

Chrome ExtensionJavaScriptWeb Development
0 likes · 8 min read
Introduction to Chrome Extension Development
MaoDou Frontend Team
MaoDou Frontend Team
Aug 9, 2018 · Frontend Development

Unlock React Power: Master Higher‑Order Components and Their Two Core Patterns

This article explains React higher‑order components, defining the pattern, distinguishing between props‑proxy and reverse‑inheritance implementations, and illustrating each with practical examples such as Ant Design’s Form.create and a loading wrapper, while discussing lifecycle handling and the advantages of reverse inheritance.

Higher-Order ComponentJavaScriptProps Proxy
0 likes · 3 min read
Unlock React Power: Master Higher‑Order Components and Their Two Core Patterns
Qunar Tech Salon
Qunar Tech Salon
Aug 1, 2018 · Frontend Development

Understanding JavaScript Asynchronous Patterns and Core Language Features for React Native Development

This article provides a comprehensive guide for mobile developers on JavaScript fundamentals such as callback hell, Promises, async/await, the arguments object, call and apply methods, mixins, and prototype inheritance, illustrating each concept with clear explanations and practical code examples to improve React Native coding practices.

CallApplyCallbackJavaScript
0 likes · 16 min read
Understanding JavaScript Asynchronous Patterns and Core Language Features for React Native Development
MaoDou Frontend Team
MaoDou Frontend Team
Jul 31, 2018 · Frontend Development

Is React setState Synchronous or Asynchronous? A Practical Guide

This article explains when React's setState behaves synchronously or asynchronously, how batch updates are merged into a single render, and the proper way to retrieve the updated state using the callback parameter, illustrated with clear diagrams and code examples.

FrontendJavaScriptReAct
0 likes · 3 min read
Is React setState Synchronous or Asynchronous? A Practical Guide
CSS Magic
CSS Magic
Jul 27, 2018 · Frontend Development

Fix Common ESLint Warnings in Existing JS Code (Part 3)

This article explains how to resolve the ESLint "no‑empty" and "no‑empty‑function" warnings by refactoring empty blocks, adding explanatory comments, using noop helpers, and validating callbacks, providing concrete code examples and step‑by‑step reasoning.

ESLintFrontendJavaScript
0 likes · 6 min read
Fix Common ESLint Warnings in Existing JS Code (Part 3)
AutoHome Frontend
AutoHome Frontend
Jul 19, 2018 · Frontend Development

Why Use ECMAScript Decorators Instead of JavaScript Decorators? A Deep Dive

This article explains the distinction between ECMAScript and JavaScript decorators, walks through the TC39 proposal stages, demonstrates how to work with property descriptors, Object.defineProperty, Object.defineProperties, Object.create, and shows practical examples of method, class‑field, and class decorators using Babel.

BabelClass FieldsECMAScript
0 likes · 16 min read
Why Use ECMAScript Decorators Instead of JavaScript Decorators? A Deep Dive
Qunar Tech Salon
Qunar Tech Salon
Jul 18, 2018 · Frontend Development

Converting React Class Components to Miniapp Component Calls Using Babel Plugins

This article explains how to transform React class components into WeChat Mini‑Program Component({}) calls by building a custom Babel plugin that extracts class inheritance, methods, state handling, and replaces import/export statements, while also mapping React lifecycle patterns to Mini‑App equivalents.

BabelJavaScriptMiniapp
0 likes · 9 min read
Converting React Class Components to Miniapp Component Calls Using Babel Plugins
Qunar Tech Salon
Qunar Tech Salon
Jul 17, 2018 · Frontend Development

Adapting WeChat Mini Program Component Model to the React Paradigm

This article examines the challenges of using WeChat Mini Programs, proposes a React‑style component architecture by mapping Mini Program concepts such as Component, Page, and App to React's state, lifecycle, and JSX, and provides concrete code examples for definition, lifecycle handling, styling, templating, and configuration.

ComponentFrontendJavaScript
0 likes · 6 min read
Adapting WeChat Mini Program Component Model to the React Paradigm
AntTech
AntTech
Jul 13, 2018 · Frontend Development

AntV G2 3.2 Release: New Visual Enhancements, Tail‑Legend, RegionFilter Guide, Data Marker Guides, Flexible Component Configurations, and Chart‑Level Themes

The G2 3.2 release from AntV introduces a richer visual cognition system with tail‑legend support, region‑filter color guides, new data marker guides, more flexible component configurations, and chart‑level theme customization, while providing installation options via npm or CDN for developers to try the latest features.

AntVData VisualizationG2
0 likes · 7 min read
AntV G2 3.2 Release: New Visual Enhancements, Tail‑Legend, RegionFilter Guide, Data Marker Guides, Flexible Component Configurations, and Chart‑Level Themes
Youzan Coder
Youzan Coder
Jul 13, 2018 · Frontend Development

Understanding RxJS: Reactive Programming Solutions for JavaScript

RxJS brings the Observable pattern to JavaScript, enabling asynchronous multiple-value streams that combine observer, iterator, and functional concepts, and the article shows how to use it in React and Redux for clean subscription management, data aggregation, advanced async handling, and time‑based operations.

Async OperationsJavaScriptRedux
0 likes · 8 min read
Understanding RxJS: Reactive Programming Solutions for JavaScript
360 Quality & Efficiency
360 Quality & Efficiency
Jul 9, 2018 · Frontend Development

Bypassing Geetest Slider Captcha Using Selenium WebDriver

This article demonstrates how to use Selenium WebDriver with JavaScript to automate the Geetest sliding captcha, covering installation, element interaction, image capture, pixel analysis, and human‑like sliding trajectory generation to illustrate both the challenges and techniques involved.

GeetestJavaScriptWebDriver
0 likes · 9 min read
Bypassing Geetest Slider Captcha Using Selenium WebDriver
ITPUB
ITPUB
Jul 9, 2018 · Frontend Development

What I Learned from 10 Front‑End Interviews in Shanghai: Real Stories & Practical Tips

A former communications engineering graduate shares a detailed chronicle of ten front‑end interview experiences across startups, small firms, mid‑size companies, and a pre‑IPO e‑commerce firm in Shanghai, highlighting interview questions, personal reflections, and actionable lessons for aspiring developers.

Career AdviceFrontendJavaScript
0 likes · 15 min read
What I Learned from 10 Front‑End Interviews in Shanghai: Real Stories & Practical Tips
QQ Music Frontend Team
QQ Music Frontend Team
Jul 8, 2018 · Frontend Development

Why WebAssembly Could Outperform JavaScript: Load Times, Execution, and More

This article examines WebAssembly’s core features—loading speed, execution performance, memory model, garbage collection, API access, multithreading, and portability—comparing them to JavaScript, and discusses suitable use cases such as high‑CPU tasks, gaming, and image processing, while noting current limitations and future prospects.

FrontendJavaScriptMemory Model
0 likes · 11 min read
Why WebAssembly Could Outperform JavaScript: Load Times, Execution, and More
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 20, 2018 · Frontend Development

A Comprehensive Introduction to ReactJS: Virtual DOM, Component Architecture, and Hands‑On Examples

This article provides a detailed overview of ReactJS, covering its origins, virtual DOM mechanism, component‑based architecture, common misconceptions, setup steps, JSX syntax, component properties, state management, lifecycle methods, and practical code examples for building interactive web interfaces.

Component ArchitectureFrontendJSX
0 likes · 14 min read
A Comprehensive Introduction to ReactJS: Virtual DOM, Component Architecture, and Hands‑On Examples
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Jun 20, 2018 · Frontend Development

Unlock Stunning Canvas Animations with SpriteJS – A Complete Beginner’s Guide

This article introduces SpriteJS, a cross‑platform canvas library from 360 Qiwang Team, showing how to create structured UI, draw shapes, apply transitions, use the Web Animation API, work with textures, paths, groups, events, D3 integration, physics engines and particle systems, all with practical JavaScript code examples.

AnimationCanvasFrontend
0 likes · 32 min read
Unlock Stunning Canvas Animations with SpriteJS – A Complete Beginner’s Guide
360 Tech Engineering
360 Tech Engineering
Jun 20, 2018 · Frontend Development

Introducing SpriteJS: A Cross‑Platform Canvas Rendering Library for Animations and Data Visualization

SpriteJS is an open‑source, cross‑platform JavaScript library that simplifies canvas drawing by providing a DOM‑like API for creating sprites, paths, groups, and animations, integrating seamlessly with tools such as D3, Matter‑JS, Proton, and CurveJS for rich interactive visualizations.

AnimationCanvasData Visualization
0 likes · 27 min read
Introducing SpriteJS: A Cross‑Platform Canvas Rendering Library for Animations and Data Visualization
360 Quality & Efficiency
360 Quality & Efficiency
Jun 20, 2018 · Frontend Development

SpriteJS: A Cross‑Platform Canvas Library for Web Animation, Visualization, and Interaction

SpriteJS is an open‑source, cross‑terminal canvas library from 360 Qiyou that provides a DOM‑like API for drawing shapes, creating sprites, animating with transitions or the Web Animation API, handling textures, vectors, groups, events, and integrating with D3, physics engines and particle systems.

CanvasData VisualizationJavaScript
0 likes · 29 min read
SpriteJS: A Cross‑Platform Canvas Library for Web Animation, Visualization, and Interaction
Tencent Cloud Developer
Tencent Cloud Developer
Jun 19, 2018 · Frontend Development

Future‑Oriented Full‑Stack Development: Trends in Programming Languages, Frameworks, and Learning Strategies

Yu Guo’s talk surveys future‑oriented full‑stack trends—rising languages like Python, mobile‑first Swift, shifting frameworks from jQuery to React/Vue, evolving build tools, and practical learning strategies such as deliberate practice, skill‑model mapping, and algorithmic optimizations—emphasizing continual adaptability for developers.

FrontendFull-StackJavaScript
0 likes · 11 min read
Future‑Oriented Full‑Stack Development: Trends in Programming Languages, Frameworks, and Learning Strategies
Senior Brother's Insights
Senior Brother's Insights
Jun 8, 2018 · Information Security

Secure API Calls with Spring Boot Starter Encrypt and JavaScript AES

This article explains how to protect data exchanged between front‑end and back‑end services by using HTTPS, request signing, SSL pinning, and a Spring Boot starter that transparently encrypts/decrypts all API traffic with AES, complemented by JavaScript AES utilities and Axios interceptors for front‑end encryption.

AES encryptionAPI SecurityJavaScript
0 likes · 11 min read
Secure API Calls with Spring Boot Starter Encrypt and JavaScript AES
Yuewen Frontend Team
Yuewen Frontend Team
May 28, 2018 · Frontend Development

Master Simple Easing: Plug‑and‑Play Animation Algorithm for UI

This article introduces a lightweight easing algorithm that moves an element by half the remaining distance each frame, provides a requestAnimationFrame polyfill, a reusable Math.easeout function, and shows real‑world usage in Qidian's scroll‑to‑top and other UI effects.

AnimationEasingFrontend
0 likes · 12 min read
Master Simple Easing: Plug‑and‑Play Animation Algorithm for UI
360 Tech Engineering
360 Tech Engineering
May 21, 2018 · Frontend Development

Weekly Tech Newsletter Summary – Frontend Development Highlights

This weekly newsletter curates nine insightful articles covering Google’s Guess.js toolkit, I/O 2018 web highlights, front‑end AR techniques, Chrome’s autoplay restrictions, a deep dive into Redux, WebAssembly versus JavaScript performance, comprehensive CSS line‑break methods, ten common software architecture patterns, and guidance on front‑end engineer career advancement.

FrontendJavaScriptRedux
0 likes · 4 min read
Weekly Tech Newsletter Summary – Frontend Development Highlights
Architecture Digest
Architecture Digest
May 15, 2018 · Fundamentals

Choosing the Best Programming Language to Start With

The article advises beginners that the specific programming language matters less than learning core concepts, recommending Python, Java, Ruby, and JavaScript as strong entry points while emphasizing flexibility, job prospects, and the importance of not getting stuck on a single language.

Beginner GuideJavaJavaScript
0 likes · 5 min read
Choosing the Best Programming Language to Start With
Qunar Tech Salon
Qunar Tech Salon
May 10, 2018 · Frontend Development

Understanding JavaScript Type Coercion: Implicit and Explicit Conversions

This article explains JavaScript's type coercion mechanisms, covering both implicit and explicit conversions for strings, numbers, booleans, objects, and symbols, and demonstrates how abstract operations like ToPrimitive, ToString, ToNumber, and ToBoolean affect runtime behavior.

ES5Explicit ConversionJavaScript
0 likes · 17 min read
Understanding JavaScript Type Coercion: Implicit and Explicit Conversions
360 Tech Engineering
360 Tech Engineering
Apr 28, 2018 · Backend Development

Weekly Tech Digest: Large‑Scale JavaScript Architecture, Secure Node.js Sandboxing, V8 Updates, and Cross‑Platform CRNWEB

This newsletter highlights design principles for massive JavaScript applications, secure sandboxing techniques for Node.js, the latest Node.js 10 and V8 6.6 features, WebAssembly debugging, and the CRNWEB framework enabling a single codebase across React‑Native, web, and PWA platforms.

JavaScriptNode.jsPWA
0 likes · 4 min read
Weekly Tech Digest: Large‑Scale JavaScript Architecture, Secure Node.js Sandboxing, V8 Updates, and Cross‑Platform CRNWEB
Tencent Cloud Developer
Tencent Cloud Developer
Mar 29, 2018 · Information Security

GitHub Security Alerts Accelerate Vulnerability Fixes for Ruby and JavaScript Projects

GitHub’s security alerts, launched in October, have dramatically cut remediation times for Ruby and JavaScript projects—nearly half of alerts are addressed within a week and 98% of actively maintained repositories patch within seven days—identifying over 400 million vulnerabilities across more than 500 thousand repositories, with detailed notifications delivered via the platform, email, and a new weekly summary, and future support planned for Python.

Dependency ScanningGitHubJavaScript
0 likes · 3 min read
GitHub Security Alerts Accelerate Vulnerability Fixes for Ruby and JavaScript Projects
Qunar Tech Salon
Qunar Tech Salon
Mar 28, 2018 · Frontend Development

Key New Features and Architectural Changes in React 16

This article reviews the major additions and deprecations introduced in React 16, including component array returns, portals, error boundaries, fragments, strict mode, the new context API, createRef/forwardRef, fiber architecture, and async rendering utilities, illustrated with code examples.

Context APIFrontendHooks
0 likes · 9 min read
Key New Features and Architectural Changes in React 16
JD Tech
JD Tech
Mar 27, 2018 · Frontend Development

Quick App Introduction and Hands‑On Development Guide

This article introduces the Quick App platform, explains its front‑end‑based architecture, provides a step‑by‑step Windows setup and project initialization guide, showcases UI layout and JavaScript code examples, compares it with Mini‑Programs and JDReact, and offers resources for developers interested in rapid, install‑free mobile app development.

JavaScriptMobile DevelopmentQuick App
0 likes · 8 min read
Quick App Introduction and Hands‑On Development Guide
JD Retail Technology
JD Retail Technology
Mar 27, 2018 · Frontend Development

Master Quick Apps: From Architecture to Hands‑On Development

This guide introduces Quick Apps, explains their front‑end‑centric architecture, walks through environment setup, project initialization, UI layout, JavaScript logic, debugging, deep linking, and compares Quick Apps with WeChat Mini‑Programs and JDReact, providing practical code snippets and tips for Android developers.

JDReactJavaScriptMobile Development
0 likes · 11 min read
Master Quick Apps: From Architecture to Hands‑On Development
JD Tech
JD Tech
Mar 26, 2018 · Frontend Development

JSSDK: A Frontend Development Toolkit for JD App Integration

JSSDK is a JavaScript SDK that enables H5 developers to quickly integrate JD app features such as sharing, deep linking, and native function calls across platforms, offering modular, version‑compatible, and type‑safe APIs to streamline mobile web development.

H5JSSDKJavaScript
0 likes · 7 min read
JSSDK: A Frontend Development Toolkit for JD App Integration
Architecture Digest
Architecture Digest
Mar 12, 2018 · Frontend Development

Top 10 Most Common JavaScript Errors and How to Prevent Them

This article analyzes the ten most frequent JavaScript errors identified from over a thousand projects, explains why each occurs, and offers practical code examples and preventive techniques to help developers avoid these common pitfalls.

Error handlingJavaScriptTypeError
0 likes · 12 min read
Top 10 Most Common JavaScript Errors and How to Prevent Them
JD Tech
JD Tech
Mar 9, 2018 · Frontend Development

Comprehensive Guide to WebAssembly Development with Emscripten

This article introduces WebAssembly, explains its performance advantages over JavaScript, details the setup of development tools like Emscripten, CMake, and WABT on macOS, and provides step‑by‑step examples for compiling C/C++ code to .wasm, loading modules in JavaScript, and using advanced features.

C++EmscriptenJavaScript
0 likes · 17 min read
Comprehensive Guide to WebAssembly Development with Emscripten
Qunar Tech Salon
Qunar Tech Salon
Mar 7, 2018 · Fundamentals

Dynamic Programming Solutions for 0/1, Complete, Unbounded, and Multi‑Knapsack Problems in JavaScript

This article explains the theory and JavaScript implementations of various knapsack problem variants—including 0/1, complete, unbounded, and multi‑knapsack—detailing state transition equations, space‑optimisation techniques such as rolling arrays and binary decomposition, and provides full code examples for each solution.

JavaScriptalgorithmdynamic programming
0 likes · 16 min read
Dynamic Programming Solutions for 0/1, Complete, Unbounded, and Multi‑Knapsack Problems in JavaScript
21CTO
21CTO
Mar 6, 2018 · Frontend Development

Can WebAssembly Replace JavaScript? A Deep Dive into Its Future and Risks

This article explores WebAssembly’s origins, technical architecture, current browser support, limitations such as lack of OOP, garbage collection, and multithreading, and discusses its security concerns and roadmap, ultimately questioning whether it will ever supplant JavaScript in the web ecosystem.

JavaScriptPerformanceWebAssembly
0 likes · 9 min read
Can WebAssembly Replace JavaScript? A Deep Dive into Its Future and Risks
Hujiang Technology
Hujiang Technology
Mar 6, 2018 · Frontend Development

The Evolution and Implementation of React Hot Loader

An in‑depth exploration of React Hot Loader’s origins, underlying HMR principles, challenges with state and DOM preservation, the development of proxy‑based solutions, React Transform, and the progression to newer versions, providing practical code examples and insights for frontend developers.

BabelHot LoaderJavaScript
0 likes · 21 min read
The Evolution and Implementation of React Hot Loader
21CTO
21CTO
Feb 28, 2018 · Frontend Development

Build a Chrome Extension in Minutes: Step‑by‑Step Guide

This tutorial walks you through creating a Chrome extension—from understanding what extensions are, setting up the manifest and HTML files, testing in developer mode, adding movie‑background features with the TMDb API, to publishing the finished extension on the Chrome Web Store.

Chrome ExtensionHTMLJavaScript
0 likes · 9 min read
Build a Chrome Extension in Minutes: Step‑by‑Step Guide
Java Captain
Java Captain
Feb 8, 2018 · Backend Development

Implementing CAPTCHA Verification in Java with Servlet and HTML

This guide demonstrates how to create a CAPTCHA verification feature in Java by generating random characters and interference lines using Graphics, serving the image via a servlet, and integrating it into an HTML registration page with JavaScript for dynamic refresh.

GraphicsHTMLJava
0 likes · 12 min read
Implementing CAPTCHA Verification in Java with Servlet and HTML
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Feb 6, 2018 · Frontend Development

Why Switch to Fetch API? A Frontend Guide to Modern AJAX

This article compares the traditional XMLHttpRequest‑based AJAX approach with the modern Fetch API, highlighting its Promise‑based design, cleaner syntax, better compatibility strategies, common pitfalls, and practical usage tips for frontend developers.

AJAXJavaScriptPromise
0 likes · 4 min read
Why Switch to Fetch API? A Frontend Guide to Modern AJAX
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Feb 2, 2018 · Frontend Development

Boost Web Performance with Loder: A Lightweight Frontend Loader

Loder is a lightweight, declarative web loader that optimizes resource‑task dependencies, enables ultra‑fast app startup, and provides performance tracking, helping developers overcome the limitations of traditional linear loading especially on constrained mobile devices.

FrontendJavaScriptPerformance optimization
0 likes · 4 min read
Boost Web Performance with Loder: A Lightweight Frontend Loader
21CTO
21CTO
Jan 31, 2018 · Fundamentals

How to Choose Your First Programming Language: A Data‑Driven Guide

This article examines how developers can decide on their first programming language by analyzing job market trends, long‑term prospects, learning speed, and project potential, using data visualizations and expert opinions to highlight why JavaScript often emerges as the top choice.

CareerJavaScriptfirst language
0 likes · 10 min read
How to Choose Your First Programming Language: A Data‑Driven Guide
21CTO
21CTO
Jan 23, 2018 · Backend Development

Master npm: Install, Manage, and Optimize Node.js Packages Efficiently

This tutorial walks you through installing Node.js, configuring npm to avoid permission issues, using npm in both global and local modes, managing package versions with package.json, searching for packages, cleaning the cache, and leveraging version managers, providing a complete guide for modern JavaScript development.

JavaScriptNode.jsnpm
0 likes · 16 min read
Master npm: Install, Manage, and Optimize Node.js Packages Efficiently
Aotu Lab
Aotu Lab
Jan 23, 2018 · Frontend Development

How to Build a Popstar Match‑3 Game with MVC Architecture in JavaScript

This article explains the rules, scoring system, and level design of the classic "Popstar" match‑3 game, then details a full MVC implementation in JavaScript—including tile representation, wave‑average distribution, shuffle, wall solidification, view updates, control bindings, and a discussion of the knapsack‑style max‑score problem—while providing complete code snippets and a GitHub repository link.

FrontendGame DevelopmentJavaScript
0 likes · 14 min read
How to Build a Popstar Match‑3 Game with MVC Architecture in JavaScript
JD Retail Technology
JD Retail Technology
Jan 19, 2018 · Fundamentals

WebAssembly Overview, Setup, and Usage with Emscripten, C/C++, and Rust

This article explains the evolution of JavaScript performance, introduces WebAssembly concepts and browser support, provides step‑by‑step installation of Emscripten, WABT, and related tools on macOS, demonstrates WebAssembly APIs such as validate, Module, compile, Instance, Memory and Table, and shows practical examples of compiling and invoking C/C++ and Rust code from JavaScript.

C++EmscriptenJavaScript
0 likes · 18 min read
WebAssembly Overview, Setup, and Usage with Emscripten, C/C++, and Rust
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jan 18, 2018 · Frontend Development

How LINE Manga Achieves Native‑Like Page Transitions with a Page Stack

This article explains how LINE Manga uses a custom Page Stack architecture, inspired by iOS UINavigationController, to deliver native‑like, smooth page transitions in a web environment, addressing back‑button latency, scroll restoration, and lazy‑load image issues with practical React/React‑Router examples.

FrontendJavaScriptWeb Performance
0 likes · 5 min read
How LINE Manga Achieves Native‑Like Page Transitions with a Page Stack