Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Unmount event triggered without mount event #2409
1. Describe your issue:
In unmount event handler printing this.isMounted returns true while no mount event was triggered.
My problem is that I create some custom object in 'mount' event, then destroy it in 'unmount' and as you may guess I get errors, as I want to call destroy something that wasn't created.
Question: Is it ok that 'unmount' event is triggered despite the fact that no 'mount' event was triggered before?
2. Can you reproduce the issue?
3. On which browser/OS does the issue appear?
4. Which version of Riot does it affect?
5. How would you tag this issue?