Pure Backend Driven UI

tl;dr: backend responses should return design components, not data.

There are a couple of white whales I’ve been chasing over my professional career as a frontend engineer. The first is how to keep GraphQL from breaking when the schema is mismatched. The second is to find a way to create a Backend Driven UI system that actually works.

Leaving the first one as my Moby Dick, the second has always felt like one of those theoretical questions that seems completely reasonable until it...

The Less Friction AI Creates, the More Discipline You Need

This post was written using AI as an experiment to take my most recent LinkedIn posts and to expand them in a post while adding supporting citations and using the voice I've established in my blog.

I'm impressed. It maintains my voice fairly well and definitely expands on what the points I made in my LinkedIn posts. A couple of things are clunky but nothing is truly terrible, even though the annoying AI "chronologic narrative" cadence is prevalent...

Converting My Portfolio to Vike SSG

With these new tools, the adjustment was simple.

My folder structure is updated to this:

/src
  /pages
    +Layout.vue
    /index
      +Page.vue
    /articles
      +Page.vue
      /articles/@articleSlug #dynamic route
        +data.js
        +Head.vue
        +onBeforePrerenderStart.js
        +Page.vue
        +route.js
        +title.js

Two item's I didn't include above are +onBeforePrerenderStart.js and +route.js.

These...