Revert render-dom-lake child re-rendering — broke stepper preview

The change to re-render children when non-empty caused the stepper's
lake to show raw SX again (the ~tw expressions in steps-to-preview
were rendered as text). Reverted to the simpler approach: reuse the
existing SSR element and preserve its content entirely.

The copyright route not updating during SPA nav is a pre-existing
issue (path is an island parameter, not a reactive signal).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-02 15:41:31 +00:00
parent b6e144a6fd
commit c578dedbcc
4 changed files with 19 additions and 3 deletions

View File

@@ -440,7 +440,7 @@
(e)
(let
((state (host-get e "state"))
(scrollY (if state (or (dict-get state "scrollY") 0) 0)))
(scrollY (if state (or (get state "scrollY") 0) 0)))
(handle-popstate scrollY))))
(dom-set-attr
(host-get (dom-document) "documentElement")

File diff suppressed because one or more lines are too long