Standalone OOB layout: remove :affinity :server, let client render
The OOB layout delegates to ~shared:layout/oob-sx which needs to produce sx-swap-oob elements. Without server affinity, the aser serializes the component call for client-side rendering (matching production behaviour where the client renders the OOB structure). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -170,7 +170,8 @@
|
||||
|
||||
;; Standalone OOB: delegate to shared layout for proper OOB swap structure.
|
||||
;; The content (with nav + header island) goes into #main-panel via sx-swap-oob.
|
||||
(defcomp ~layouts/standalone-docs-layout-oob (&key content) :affinity :server
|
||||
;; No :affinity — let aser serialize the component call for client-side rendering.
|
||||
(defcomp ~layouts/standalone-docs-layout-oob (&key content)
|
||||
(~shared:layout/oob-sx :content content))
|
||||
|
||||
;; Standalone mobile: nothing — nav is in content.
|
||||
|
||||
Reference in New Issue
Block a user