跪拜 Guibai
← All articles
Frontend · JavaScript · Webpack

State of HTML, Solid 2.0, and Webpack's Late CSS/HTML: Frontend Weekly #155

By 晓得迷路了 ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

Webpack's late CSS/HTML support and Solid 2.0 dropping SolidStart reshape tooling choices for teams on those stacks, while the Vite --host vulnerability is a direct warning for anyone exposing dev servers. The State of HTML survey also signals what the platform still lacks for everyday frontend work.

Summary

The 2026 State of HTML survey finds broad adoption of `<details>/<summary>`, `<dialog>`, and the Popover API, but developers still struggle with form control styling and `<datalist>`. The top request is native sortable and filterable tables, while the overall sentiment is that HTML's foundation stays solid.

Solid 2.0 ships with the Async Graph feature and agent-friendly observability, but it also discontinues the SolidStart meta-framework. Webpack now has built-in CSS and HTML support, arriving years after other bundlers made that standard. The issue also covers a deep dive into why `JSON.stringify(err)` often returns `{}`, a Vite vulnerability with CVSS 9.1 when using `--host`, and a breakdown of pnpm's hard and symbolic link behavior when packaging.

Tooling updates include npkill 1.0, which now scans caches and build artifacts like `.next` and `.turbo`, Flashwright, a Playwright fork that claims 2–4x faster tests by reusing browser contexts and skipping animation waits, and React Flow 13, which adds the `useNode` hook to cut re-renders in large graphs.

Takeaways
— The 2026 State of HTML survey shows `<details>/<summary>`, `<dialog>`, and Popover API are increasingly used; developers most want native sortable/filterable tables.
— Solid 2.0 introduces Async Graph and agent-friendly observability, but discontinues the SolidStart meta-framework.
— Webpack now includes built-in CSS and HTML support, a feature that would have been significant a decade ago.
— A Vite vulnerability rated CVSS 9.1 allows code injection when the dev server is exposed via `--host`; crafted URLs exploit virtual module generation.
— `JSON.stringify(err)` often returns `{}` because Error object properties are non-enumerable; only certain properties survive across stack, cause chains, and Worker boundaries.
— pnpm's mixed hard and symbolic link strategy can break builds; configuring `node-linker=hoisted` resolves cases where `shamefully-hoist` fails.
— npkill 1.0 now scans caches and build artifacts like `.next` and `.turbo`, with built-in configuration for 20 tech stacks.
— Flashwright, a Playwright-compatible fork, reuses browser contexts and skips animation waits to achieve 2–4x faster test runs.
— React Flow 13 adds the `useNode` hook to reduce unnecessary re-renders in large node graphs.
Conclusions

Webpack's built-in CSS/HTML support, arriving a decade late, underscores how far the bundler ecosystem has moved toward zero-config defaults.

Solid 2.0 abandoning SolidStart suggests the difficulty of sustaining a meta-framework for a small community; the focus shifts to library-level innovations.

The Vite vulnerability highlights a common but risky practice: exposing dev servers to the network for testing, which should be gated behind credentials or a VPN.

The State of HTML survey's request for native sortable/filterable tables indicates the platform still lacks a basic data-grid primitive, leaving Web Components and framework-specific solutions to fill the gap.

pnpm's hard-link design, while efficient, can silently break products that rely on symlink resolution; the need for a `node-linker=hoisted` escape hatch shows that isolation has costs.

Concepts & terms
Popover API
A web standard for creating lightweight popover elements and their toggle behavior, without needing custom JavaScript or a framework.
Async Graph
A Solid 2.0 feature that allows resources and computations to be tracked in an asynchronous dependency graph, enabling finer-grained reactivity and data loading.
SolidStart
The meta-framework for Solid, similar to Next.js for React; Solid 2.0 announced its discontinuation, shifting focus to the core library.
node-linker=hoisted
A pnpm configuration option that makes pnpm place all dependencies in a traditional flat `node_modules` structure, avoiding symlink/hard-link issues that break some build tools.
Source: juejin.cn ↗ Google Translate ↗ Backup ↗