Tag: javascript
All the articles with the tag "javascript".
-
Off-Main-Thread Architecture: Web Workers for Frontend Decoupling
An investigation into using Web Workers with an event-driven message bus to decouple data fetching from React and Svelte render lifecycles, covering transport mechanisms, request deduplication, and practical trade-offs against existing solutions like TanStack Query.
-
Telegram Bot API: States, Command Scoping, and UI Features
A reference overview of Telegram Bot API capabilities covering state management patterns across frameworks, command visibility scoping, keyboard types, Mini Apps, and persistent UI elements like pinned messages.
-
React useMemo for Array Slices: When It Helps and When It Doesn't
A technical analysis of whether Array.slice() operations in React components warrant useMemo optimisation, with performance benchmarks, practical decision criteria, and common anti-patterns to avoid.