lrod.dev

Notes

Write-ups on things I've built: what the problem was, what I tried, and the tradeoffs.

  1. Themes, slots and AI edits for untrusted components

    Letting users customize a component library, and letting an AI edit their code, without trusting either. Part two of the playground write-up.

  2. Running untrusted React components in the browser

    Compile, scope, validate, isolate, recover. The five layers I used to let someone else's UI code run inside a page without breaking it.