Tag

JavaScript

0 views collected around this technical thread.

HelloTech
HelloTech
Mar 7, 2024 · Frontend Development

Implementation of Driver Authentication Video Capture Using WebRTC and RecordRTC

The project implements a cross‑platform driver authentication video capture module by using WebRTC to access rear‑facing cameras, RecordRTC to record a five‑second clip with custom constraints, and uploading the resulting Blob to Alibaba Cloud OSS for OCR, ensuring consistent functionality across native apps, mini‑programs, and external H5 pages.

Front-endH5JavaScript
0 likes · 10 min read
Implementation of Driver Authentication Video Capture Using WebRTC and RecordRTC
HelloTech
HelloTech
Jan 11, 2024 · Frontend Development

React Fiber Workflow and Hook Implementation Overview

React’s core fiber system traverses a depth‑first tree using performUnitOfWork, splits rendering into beginWork and completeWork, then commits in before‑mutation, mutation, and layout phases, while hooks like useState and useEffect are implemented via linked‑list queues that ensure deterministic updates and side‑effect handling.

FiberHooksJavaScript
0 likes · 8 min read
React Fiber Workflow and Hook Implementation Overview
HelloTech
HelloTech
Jun 26, 2023 · Frontend Development

Introducing Quarkc: A Framework‑Agnostic Web Component Toolkit

Quarkc, the HelloBike‑developed framework‑agnostic web component toolkit, builds native Web Components without hidden magic, letting developers write once and run anywhere across Vue, React, Svelte, Angular and plain HTML, while offering a tiny bundle size, high performance and simple npm‑based setup.

Framework-agnosticFront-endJavaScript
0 likes · 6 min read
Introducing Quarkc: A Framework‑Agnostic Web Component Toolkit
DaTaobao Tech
DaTaobao Tech
Aug 9, 2022 · Artificial Intelligence

Differentiable Programming: Theory, Function Fitting, and Practical Implementations

Differentiable programming augments traditional code with automatic differentiation, enabling gradient‑descent optimization of scientific and UI functions; the article surveys its theory, demonstrates fitting a damping curve via logistic and polynomial models in Julia, Swift, and TensorFlow, and discusses trade‑offs between analytical interpretability and neural‑network flexibility.

Automatic DifferentiationJavaScriptTensorFlow
0 likes · 30 min read
Differentiable Programming: Theory, Function Fitting, and Practical Implementations
Tencent Cloud Developer
Tencent Cloud Developer
Aug 26, 2021 · Frontend Development

Understanding @Decorator Syntax Sugar in TypeScript: Principles, Usage, and Examples

This article explains TypeScript’s @Decorator syntax sugar, showing basic examples, how the compiler transforms them into the __decorate helper, the various decorator types and factories, execution order, and the benefits and pitfalls of using decorators in frameworks like Angular and Nest.js.

AOPJavaScriptTypeScript
0 likes · 20 min read
Understanding @Decorator Syntax Sugar in TypeScript: Principles, Usage, and Examples
Tencent Cloud Developer
Tencent Cloud Developer
Aug 25, 2021 · Fundamentals

A Comprehensive Guide to JavaScript/TypeScript Decorators and Their Practical Use

The guide explains JavaScript/TypeScript decorators—an ECMAScript stage‑2 proposal used in frameworks like Angular, Nest.js, and TypeORM—by distinguishing the decorator pattern, function, and @syntax, demonstrating a four‑step manual implementation that logs execution time, and linking decorators to AOP, IoC, and DI concepts.

AOPIoCJavaScript
0 likes · 10 min read
A Comprehensive Guide to JavaScript/TypeScript Decorators and Their Practical Use
vivo Internet Technology
vivo Internet Technology
Sep 23, 2020 · Frontend Development

A Comprehensive Guide to ESLint: History, Usage, and Project Integration

This guide traces ESLint’s evolution from early lint tools, shows how to install and configure it, run auto‑fixes, integrate with editors, enforce quality via Husky, lint‑staged and commit‑lint, and combine these practices into a defensive moat that keeps repositories clean and consistent.

ESLintFront-endJavaScript
0 likes · 21 min read
A Comprehensive Guide to ESLint: History, Usage, and Project Integration
vivo Internet Technology
vivo Internet Technology
Sep 16, 2020 · Fundamentals

JavaScript Event Loop: Macro Tasks vs Micro Tasks Execution Analysis

The article examines JavaScript’s event loop by contrasting macro‑tasks and micro‑tasks, tracing their spec‑defined origins, showing how callbacks, timers, Promises, async/await and generators are queued, and highlighting differences between browsers and Node.js (pre‑v11 vs v11+) that affect execution timing.

Asynchronous ProgrammingBrowser ImplementationCallback Mechanism
0 likes · 12 min read
JavaScript Event Loop: Macro Tasks vs Micro Tasks Execution Analysis
vivo Internet Technology
vivo Internet Technology
Feb 27, 2020 · Backend Development

Node.js: History, Core Technologies, and Current Landscape

Node.js, a JavaScript runtime built on Chrome’s V8 engine, originated in 2009 when Ryan Dahl applied event‑driven, asynchronous I/O to achieve high‑concurrency server‑side performance, and has since grown into a widely adopted platform—supported by npm, governed by the OpenJS Foundation, and used for scalable I/O‑intensive web, enterprise, and data applications despite challenges like callback complexity and package‑registry incidents.

JavaScriptNode.jsV8
0 likes · 15 min read
Node.js: History, Core Technologies, and Current Landscape
vivo Internet Technology
vivo Internet Technology
Feb 19, 2020 · Frontend Development

Understanding Redux: Principles, Data Flow, Source Code Analysis, and a Simple Implementation

Redux is a predictable JavaScript state container that centralizes a single immutable store, updates it via dispatched actions processed by pure reducers, combines multiple reducers, supports middleware and DevTools, and can be built from scratch by implementing a createStore function with subscribe, getState, and dispatch.

DevtoolsJavaScriptRedux
0 likes · 16 min read
Understanding Redux: Principles, Data Flow, Source Code Analysis, and a Simple Implementation
Didi Tech
Didi Tech
Oct 8, 2019 · Frontend Development

Understanding Webpack Module Creation: Stages and Dependency Handling

Webpack transforms entry files into modules through four stages—create, add, build, and processDep—where it generates a module instance via factory hooks, registers it in the compilation, runs loaders and parses the source into an AST, groups and resolves dependencies, and finally prepares the modules for bundling.

DependencyJavaScriptModule
0 likes · 18 min read
Understanding Webpack Module Creation: Stages and Dependency Handling