barneycarroll / mithril.exitable.js

Exit animations for Mithril components: provide controllers with an `exit` hook which will trigger when the component disappears from the virtual DOM (but before it's removed from live DOM), locking the draw process while you perform animations.
MIT License
22 stars 3 forks source link

Incompatible with Mithril 0.2.2-rc1 #13

Closed barneycarroll closed 8 years ago

barneycarroll commented 8 years ago

Mithril 0.2.2-rc1 changes m() signature forking logic, which constitutes a breaking change for Exitable.

barneycarroll commented 8 years ago

The 0.2.2-rc1 compatibility issue is this: Mithril now does extra signature sniffing in m and hands over to m.component if the first argument is statically inferable as a component.

barneycarroll commented 8 years ago

Mithril 0.2.0 v Mithril 0.2.2-rc1