Re:A proposal to add signals to JavaScript
by ahmedfromtunis on Sunday March 31, 2024 @03:10PM
(#39887109)
Can you please point to where in the document such an example was mentioned? I rechecked the document and couldn't find it.
[ Parent
| on HN ]
Re:A proposal to add signals to JavaScript
by ivan_gammel on Sunday March 31, 2024 @03:17PM
(#39887168)
Just look for the example of a design pattern („Example - A VanillaJS Counter“ section), not for a literal implementation of it via events. Conceptually they are the same.