yoshuawuyts / microcomponent

Smol event based component library
MIT License
35 stars 11 forks source link

use shallow-equal fork to make it work with Element comparisons #12

Closed juliangruber closed 7 years ago

juliangruber commented 7 years ago

to work around https://github.com/moroshko/shallow-equal/pull/2 until it is merged (or we decided to publish our own version), this makes comparisons work for elements where

elA !== elB && elA.isSameNode(elB)