Introduction to Rescript
This article introduces Rescript, a JavaScript dialect, highlighting its robust type system, immutable data structures, variant types, pattern matching, and integration with React.
Cutting‑edge tech, article sharing, and practical insights from the ByteDance frontend team.
This article introduces Rescript, a JavaScript dialect, highlighting its robust type system, immutable data structures, variant types, pattern matching, and integration with React.
This collection highlights recent technical articles and tutorials covering the State of JS 2022 survey, new features and pitfalls in React 18, ESLint internals, TensorFlow.js usage in WebRTC, Vue 2022 review, Nix packaging for npm projects, front‑end image compression techniques, and a CSS hexagon animation.
This article explains how to build a lightweight React‑like library called Didact, covering its core concepts, step‑by‑step source‑code walkthrough, implementation of createElement, render, Fiber architecture, concurrent mode, and a useState hook for function components.
This article examines why native JavaScript Date falls short for time handling, explains time measurement standards and time zones, and compares four major date libraries—MomentJS, DayJS, date-fns, and native Date—highlighting their advantages, drawbacks, and appropriate usage scenarios.
This technical guide explores practical methods for measuring network performance in web applications, covering key metrics like ping, jitter, and throughput, while demonstrating how to implement real-time speed testing using browser APIs and JavaScript within a React environment.
This article explains what Web Components are, details their core features such as Custom Elements, Shadow DOM, and HTML templates, demonstrates practical usage with React, Vue, and micro‑frontend scenarios, compares them to traditional frameworks, and discusses advantages, limitations, and related tools like Lit and Omi.
This article details the four‑year development of SpriteJS, a high‑performance, cross‑platform graphics system that supports WebGL and Canvas2D rendering, DOM‑like APIs, responsive design, WebWorker integration, and extensive performance optimizations for visualisation and game applications.
This collection presents curated technical articles covering low‑code multi‑branch collaborative development, comprehensive front‑end state management, hands‑on browser cache exploration, intranet penetration principles, advanced CSS Houdini techniques, front‑end mock data strategies, React ref fundamentals, and performance‑focused foreign reads.
This article comprehensively explores the evolution, underlying principles, and practical implementations of remote debugging for mobile and hybrid web applications, comparing historical tools like Weinre with modern solutions, analyzing USB and Wi-Fi transport mechanisms for Android and iOS, and providing actionable best practices for developers.
This newsletter presents a collection of technical articles covering the Vite 4 release, the dangers of over‑design, building Node.js automation workflows, React Native monorepo practices, Chrome's memory and energy saver modes, first‑principles thinking for engineers, WebRTC face‑recognition implementation, JavaScript best practices, and an overview of Web Workers.