Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Frontend Development

10 min read

A Simple Curl Command Unveils the 2026 Fields Medal Leak, Spotlighting Two Peking University Alumni

An unfiltered eventSnapshot API on the ICM 2026 website revealed four hidden Fields Medal lecture entries—including Chinese mathematicians Wang Hong and Yu Deng—through a single curl request, prompting a data leak that could mark the first year two Chinese scholars share the award and highlighting their distinct academic journeys.

8 min read

Building a Java Desktop App with Shadcn UI, React, and JxBrowser

The article explains how to replace outdated Swing/JavaFX UI by embedding a React application styled with shadcn/ui into a Java desktop program using JxBrowser, covering reliable web view setup, dev‑vs‑prod resource loading via a custom jxb:// scheme, and two Java‑to‑JS communication approaches (JS‑Java bridge and Protobuf + gRPC) with concrete code examples.

11 min read

Why Do Major Tech Companies Build Their Own Front‑End Scaffolding?

The article examines how large front‑end teams create internal scaffolding tools, detailing each stage—from pre‑development setup and template generation to build, commit‑hook checks and CI‑driven releases—and explains how these tools simplify configuration, enforce standards, manage versions, and streamline development workflows.

15 min read

Seeing Every User Action: How Session Replay and Heatmaps Enable Data‑Driven Front‑End Optimization

The article explains how Alibaba Cloud's CMS 2.0 uses Session Replay to record DOM changes and user interactions, and three types of heatmaps—click, area, and scroll—to provide low‑overhead, privacy‑controlled insights that help developers reproduce bugs, analyze conversion funnels, and improve overall front‑end user experience.

11 min read

Why Do Big Tech Companies Build Their Own Front‑End Scaffolding Tools?

The article walks through the full lifecycle of a large‑company front‑end scaffold—from pre‑development command simplification and version locking, through template‑driven development, build‑tool integration, commit‑hook checks, and CI/CD publishing—showing how each stage reduces configuration overhead, risk, and duplicated effort.

9 min read

Getting Started with WebRTC: Real‑Time P2P Communication in Browsers and Mobile Apps

This article introduces WebRTC, compares it with WebSocket, explains its architecture and core APIs, shows how to build a FastAPI‑based signaling server, demonstrates a full JavaScript P2P connection setup with TURN configuration, and provides code for screen sharing and audio/video controls.

13 min read

Meta’s Astryx: An 8‑Year‑Built Design System Redefining AI‑Assisted Frontend Development

When using AI coding assistants like Cursor, Claude, or Copilot, developers often face mismatched props, hard‑coded design tokens, and duplicated modal implementations despite mature component libraries, a problem Astryx solves with a machine‑readable JSON contract, AI‑specific rule files, and a real‑time MCP service, offering a fully open React design system that scales to thousands of internal applications.

15 min read

Alibaba’s 25K‑Star Front‑End GUI Agent PageAgent Lets AI Control Web Apps Without Backend

PageAgent, an open‑source pure front‑end JavaScript GUI agent from Alibaba with over 25,000 GitHub stars, embeds an AI agent directly into the webpage DOM to enable natural‑language driven interactions—such as form filling and data extraction—without any backend, headless browser, or OCR, and it offers low‑cost integration, model‑agnostic LLM support, and detailed comparisons against Selenium, Playwright and Browser‑use.

12 min read

High‑Performance Streaming Markdown Renderer for Multi‑Platform Mini‑Programs (x‑markdown‑mini)

The article analyzes the shortcomings of existing mini‑program Markdown renderers—conversion overhead, streaming performance, and extensibility—then presents three strategies employed by @ant-design/x‑markdown‑mini to eliminate the HTML middle layer, cache stable blocks with incremental patching, and provide isolated, plug‑in‑based syntax and component extensions, achieving up to 4.4× faster conversion on long texts.

8 min read

Free Claude Code + Pencil: Auto‑Generate UI and Seamlessly Convert Between Design and Code

This guide shows how to install the Pencil VS Code extension, configure Claude Code with Spring Boot 3.5.0, use AI prompts to design a bilingual enterprise login UI, export the design as a .pen file, and automatically generate Vue 3 + ElementPlus code, illustrating the full design‑to‑code and code‑to‑design workflow.

12 min read

Is WebSocket Still the Best Choice for Real‑Time Push? Consider SSE

The article compares polling, WebSocket, and Server‑Sent Events (SSE) for server‑to‑client real‑time messaging, explains each method’s mechanics, advantages and drawbacks, shows browser compatibility, outlines typical business scenarios, and provides a complete Node‑Express demo with code samples.

9 min read

Clone Any Website with One Command Using This Open‑Source AI Tool – Step‑by‑Step Guide

This article walks through how an open‑source AI tool uses a headless browser to fully render a target site and generate a complete Next.js project, compares it with traditional site‑scraping utilities, lists required prerequisites, provides detailed installation and cloning steps, and covers post‑clone modification, deployment, and common issues.