You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.
This would make the code simpler, but it would be a performance problem. Ideally, the decoding functions in a VirtualDom on-Node should be comparable. That is a hard problem, so object identity is compared. If the functions remain the same javascript objects between render passes, expensive DOM updates can be skipped. Functions are only ever the same object if they are compiled down to a module-level function (not a curried function!)
Composing Properties after their creation would defeat this.
The path forward is to make EventDecoder a functor/monad, this makes it easy to define a module-level helper function that is used to create the event handling Property.
If Property were a monad, event handling code would be simpler and more powerful.
EventDecoder might become unnecessary.
The text was updated successfully, but these errors were encountered: