New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Find legitimate unmount strategy #5
Comments
This was now added to dojo in dojo/framework#680. Waiting for a release and then we'll update single-spa-dojo to use the new |
Hi, any updates on this? |
I released https://github.com/single-spa/single-spa-dojo/releases/tag/v2.0.0 which uses dojo's unmount function. See https://github.com/single-spa/single-spa-dojo/releases/tag/v2.0.0 for more details. I didn't test it with a dojo application, since I don't use dojo much, so let me know if you get it working or not. |
Our current implementation does not call the lifecycle functions
onDetach
anddestroy
when the application is unmounted. This is a big problem because listeners aren't cleaned up, which is both a memory leak and leads to buggy behaviors.Current implementation:
single-spa-dojo/src/single-spa-dojo.js
Lines 69 to 74 in 1954bd4
The text was updated successfully, but these errors were encountered: