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

7 min read

Is Next.js on the Way Out? Meet the New React Powerhouse: TanStack Start

As AI startups abandon Next.js for TanStack’s emerging ecosystem, the article examines TanStack Start’s full‑stack React capabilities, the explicit‑over‑magic philosophy, and why the growing AI community sees TanStack as the next foundational infrastructure, suggesting Next.js will remain important but no longer the sole standard.

12 min read

Claude Code Recreates Figma Designs: Two Practical Ways to Skip Manual Styling

The article walks through installing Claude Code and its Figma plugin, then compares two methods—official MCP extraction and screenshot‑based visual reconstruction—to automatically generate uni‑app code from Figma designs, highlighting speed gains, precision differences, and common pitfalls when converting px to rpx.

16 min read

How Airbnb Leverages LLMs and @generateMock for Scalable, Type‑Safe GraphQL Mocking

Airbnb tackled the long‑standing difficulty of creating realistic GraphQL mock data by introducing the @generateMock directive, which combines schema, product context, and LLM‑generated content to automatically produce and continuously maintain type‑safe mock responses, dramatically speeding up local development.

14 min read

Introducing Kuikly Compose DSL: Standard Compose on Six Native Platforms

Kuikly Compose DSL extends the standard Jetpack Compose API to six native platforms—Android, iOS, HarmonyOS, H5, WeChat Mini‑Program, and macOS—by integrating a custom applier, layout mapping, gesture bridging, and native scrolling while preserving Compose semantics and enabling AI‑generated code.

13 min read

Why Your CSS Rules Aren’t Applying: A 1‑Minute Guide to Selector Specificity

Every CSS developer has faced a rule that refuses to work, tried adding !important, and still seen no change; this article explains the four‑digit specificity weight, inheritance, the dangers of !important, and how @layer can cleanly manage priority, ending with practical debugging steps and best‑practice tips.

3 min read

How GSAP’s New AI Skill Pack Fixes AI‑Generated PPT‑Style Animations

The article explains that AI‑generated front‑end animations often appear stiff and PPT‑like, and introduces GSAP’s open‑source gsap‑skills package, which teaches AI tools proper use of GSAP’s core APIs, timelines, ScrollTrigger, Flip, SplitText, and more, with broad agent compatibility and free installation.

8 min read

How Claude Design Turned code80’s Codebase into a Production‑Ready Animation

The author recounts using Claude Design to read the code80 homepage code, generate three animation concepts, refine the chosen smart‑routing sketch, and produce a pure‑HTML/CSS terminal animation that integrates seamlessly with existing Vue components while addressing accessibility and deployment issues.

14 min read

Introducing @utoo/pack: A Next‑Gen Frontend Build Tool Powered by Turbopack

@utoo/pack, the Rust‑based frontend bundler built on Turbopack, delivers 3‑10× faster cold starts and hundred‑fold HMR speed versus webpack, offers seamless webpack compatibility, integrates with Umi, Father, Dumi, and provides detailed architecture, usage guides, and real‑world performance data from Ant Group projects.

12 min read

Is Modern Frontend Solving Real Problems or Just Creating New Ones? – Insights from the Redis Creator

The article examines the escalating complexity of modern frontend development, citing antirez’s critique of SPA toolchains, outlining the exhaustive build steps required for a simple button, and evaluating HTMX as a minimalist alternative while presenting diverse developer perspectives on the trade‑offs.

18 min read

From CSS3 to Modern CSS: Revolutionary Features Shaping Front‑End Development

This article traces CSS’s evolution from early versions to modern, modular specifications and demonstrates how new features such as custom properties, cascade layers, container queries, :has(), nesting, logical properties, color‑mix(), subgrid, view‑transition API and anchor positioning solve long‑standing styling challenges for developers.

6 min read

Understanding Reflow and Repaint: The Core Logic Behind Front‑End Performance Optimization

Reflow recalculates layout when geometric properties change, while repaint only redraws visual styles; the article explains their triggers, compares performance impact, and provides practical techniques—such as using DocumentFragment, batching reads before writes, and leveraging transform/opacity—to minimize costly reflows and achieve optimal front‑end rendering.

20 min read

Mastering CSS Preprocessors: Practical Less and SCSS Guide (Part 4)

This article explains why CSS preprocessors are essential for large projects, demonstrates core features of Less and SCSS—including variables, nesting, mixins, inheritance, functions, and modularization—with real code examples, compares the two syntaxes, and offers recommendations and project‑structure guidelines for modern front‑end development.