(defcomp
  ()
  (~examples/page-content
    :title "Click to Load"
    :description "The simplest sx interaction: click a button, fetch content from the server, swap it in."
    :demo-description "Click the button to load server-rendered content."
    :demo (~examples/click-to-load-demo)
    :sx-code "(button\n  :sx-get \"/sx/(geography.(hypermedia.(example.(api.click))))\"\n  :sx-target \"#click-result\"\n  :sx-swap \"innerHTML\"\n  \"Load content\")"
    :handler-names (list "ex-click")
    :comp-placeholder-id "click-comp"
    :wire-placeholder-id "click-wire"
    :wire-note "The server responds with content-type text/sx. New CSS rules are prepended as a style tag. Clear the component cache to see component definitions included in the wire response."))
