ludic.ui: an unmounted component is mounted again rather than made again - its record renewed (a generated renew), its props and model kept; an action's call answers into a ring
A prompt that comes and goes as a player walks (co-op's netleak: in_get, cmp_*_new, bd_class, value_slot/put) made a new record, props and model on every mount, and an action's call answered into a new Val (ev_call_with). examples/library/ui_remount: two thousand comings and goings hold the heap at 0, and the counter starts at 0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
fc0f3d3790
commit
6cdef20cc2
14 changed files with 46052 additions and 45244 deletions
5
examples/library/ui_remount_parts/Shown.ludic
Normal file
5
examples/library/ui_remount_parts/Shown.ludic
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Shown.ludic - a counter shown or not: each time it comes back it is a new counter
|
||||
component Shown {
|
||||
state on: bool = true
|
||||
on flip() { on = not on }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue