Closed wgundamj44 closed 6 years ago
hi @wgundamj44! does a downstream componentWillUnmount
not work for that use case?
either way i could see this being useful. would you like to give the implementation a go?
@wgundamj44 just published version 1.2.0
, which contains your changes. thanks again for the PR!
I have a use case where some actions need to be triggered when route transition is done.
However, current implementation doesn't support passing
didLeave
callback to underlyingTransitionMotion
. So how about adddidLeave
as a new property toRouteTranstion
component?