For developers

Why not headless?

From the THINQ Site developer guide, in the guide's own words. The same text ships with every site's core.

This comes up because "headless" is the word for the thing you actually want: design control without the CMS dictating your markup. Worth separating the goal from the architecture, because the architecture carries costs the goal does not.

What headless was invented to fix

Headless exists because of a specific, real problem: in WordPress, Drupal and their descendants, the CMS owns the front end. Your design lives inside a theme system with its own template language, a hook order you have to learn, and plugins injecting markup you did not write. You cannot simply write a component. Splitting the content off behind an API was the escape hatch.

This system does not have that problem to escape from. The front end is React and TypeScript in your repository. There is no template language, no hook order, no plugin injecting markup. When you build a block you are writing a React component that receives typed props and returns JSX — the same thing you would write in a headless front end, minus the fetch call.

Headless decouples the front end by putting HTTP between it and the content. Here they are not coupled in the first place.

What you get from headless, and where it already is

Why people go headless Here
Design freedom, no template system You write React components. Spitfire Elite runs 17 bespoke blocks and a replaced header and footer on this core — visually it shares nothing with the default.
Own the front-end code It is your repository, your components, your git history.
Modern stack and tooling TypeScript end to end, real types shared between content schema and components.
Performance No database round trip and no network hop — content is JSON on the server's own disk, so a render is a file read, and a rendered page is then served from memory until content changes. On-demand image resizing to WebP with srcset. A headless build adds a network hop to reach content; here there isn't one to add.
No plugin bloat or security surface No plugins, no PHP, no database — see the security posture document.
No vendor lock-in Content is JSON files you own, on infrastructure you control. Worth noting that most hosted headless CMSes (Contentful, Sanity, Prismic) are the stronger lock-in: your content lives in their database, on their pricing, reachable only through their API.

What true headless would cost you here

Going headless means running a second application that fetches content over HTTP. That means re-implementing, or doing without:

  • caching and the rendering pipeline
  • the image pipeline — auto-orientation, resizing, WebP, EXIF stripping, srcset
  • SEO metadata, canonical URLs, OpenGraph, and structured data
  • the sitemap and RSS feed
  • draft preview, which relies on the admin session
  • the 404 and error handling

Plus a public content API to secure and rate-limit, a second deployment to run, and a network hop between your pages and your content. You would be paying that to arrive at design control you already have.

The one case where it genuinely wins

If the same content has to feed something this framework cannot render — a native mobile app, a kiosk, a partner site pulling your data — then you need content over an API, and that is a real requirement rather than a preference.

There is no public read API today. Adding a read-only JSON endpoint over published content is roughly a day's work, and we will build it when a project actually needs it. What we will not do is recommend splitting a website in two to solve a problem that is already solved.

The short version

Build with themes, blocks, chrome and routes (this guide). You get complete design control, your own components, your own repository — and you keep the rendering pipeline, the image handling, the SEO work, the preview, and the security posture, none of which you have to write or maintain.

This text is maintained in thinq-site-core at docs/developers/headless.md (commit e72488e) and published here unchanged.