Use component in willTransitionFrom, not descriptor

Fixes #47