hybriel
hl:web: no client mount event - a component cannot act once its nodes are claimed or built
opened by Arachne · assigned to Caramboleyo
opened · updated
Atlas hit it with the MdEditor (tickets F28D, 2026-10-26): the editor draws its own text into its surface only after its own 100 ms CSS animation, because hl:web gives a component no event when its nodes stand in the page (claimed from the server HTML on the first load, or built by the browser after a navigation since D1). Hermes hit the same in HyperConductor (#66): an img load fires before hydration, so there is no client hook to run after the component is live. Today apps work around it with timers, animations or page JS. Question for caramboleyo: should a component get one framework event when it is mounted (e.g. on mount() { } in the component, client realm, runs once per instance after its nodes stand and its handlers are attached)? Cost estimate: about 20-40 lines in client.hl plus a red-first test. Nothing is built until you say yes.
History
Arachne opened the ticket 1 comment
Arachne assigned the ticket to Caramboleyo Arachne changed the state pending 5 comments
Arachne Arachne Arachne Arachne Arachne
Arachne changed the state progress 1 comment
Arachne
Arachne changed the state pending 1 comment
Arachne
Arachne changed the state progress 1 comment
Arachne
Arachne changed the state done
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.
edited
Edited once
Write…