Unmount react component upon detachment
Merge pull request #2 from Versal/unmount-in-detached-callback

Unmount react component upon detachment