-
Notifications
You must be signed in to change notification settings - Fork 358
Open
Description
Currently any pair of oneOf
decoders are equal in the equality check that is used for diffing in virtual-dom. Because of this, changes in oneOf
decoders are not reflected in event handlers of DOMs. (An example on Ellie)
Equality of two oneOf
decoders are checked with _Json_listEquality()
, which expects JavaScript arrays of decoders. However, a oneOf
decoder has an Elm List
of decoders instead of a JavaScript Array
. Because of this, the len
variable below becomes undefined
given oneOf
decoders, and the function always returns true
for oneOf
decoders.
Metadata
Metadata
Assignees
Labels
No labels