📚 Encyclopedia

Web Development · updated 2026-10-13

A production vanilla-JS single-page app (no framework, no build)

vanilla-jses-modulesspahash-routertagged-templatesjwtflutter-rewrite

In June 2026 the Hunsley Hills Salon site was rewritten from a ~4,500-line Flutter web app to a hand-written vanilla JavaScript SPA: native ES modules, plain CSS, a hash router, and the same PHP API behind it. Flutter's toolchain and multi-platform abstraction bought nothing for a single web target, and the rewrite gained real DOM, SEO-able text, normal browser behavior, and deploys that are just file copies. This is the structure that worked, at the scale of a small business site with an admin area. For one-file tools see Zero-build web apps (vanilla JS, localStorage, single file).

Structure (site/)

A hash router needs no server rewrite rules; any static host works.

Gotchas

Image loading on mobile

Testing without a framework

See also

Linked from

Sources: hunsley memory (hhs-frontend, hhs-square-booking), 2026-06 and 2026-07