Skip to content

Known Trade-offs ​

These aren't to-dos. They are how it's designed:

  • Client state always resets on reload. It's in-memory only and never touches storage; it is not a draft-saving mechanism.
  • Server instances don't survive a reload either. The uuid goes away with the DOM. To resume a form, save a draft in the database.
  • Attributes have no arithmetic. You can compare (data-state-is="step=2") but not compute.
  • Replacing whole blocks sends more bytes than a diff. You decide how big each fragment is.
  • Pages that need SEO or must work without JavaScript use ordinary routes. This is progressive enhancement, not the only path.

When not to use it ​

SituationWhy
Public content pages that need SEOPlain routes and server rendering are enough; renderBlade / Linker are progressive enhancement
Offline-first, drafts stored locallyClient state deliberately never writes to storage
Heavy real-time collaboration (many people editing at once)There is no push channel, and a Stateful instance belongs to one user
You already have a full SPA and APIMixing two mental models usually costs more than it gains
You want to install it into another projectIt lives in this application; no releases, no compatibility promises

Why it's still worth it ​

  • The attack surface fits on one screen: #[Computable] methods + the action table + @renderObject allow lists. Those three lists are everything.
  • Error handling is written once: zero lines of module-level JavaScript.
  • You debug values, not an algorithm: there is no diff, so a wrong screen means checking a key or a fragment.