Skip to content
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

unload lifecycle function not implemented #150

Open
kim1882 opened this issue Aug 18, 2022 · 0 comments
Open

unload lifecycle function not implemented #150

kim1882 opened this issue Aug 18, 2022 · 0 comments

Comments

@kim1882
Copy link

kim1882 commented Aug 18, 2022

Describe the bug or question
When mount promise doesn't resolve or reject, since I have a mount max timeout set , my application is moved to SKIP_BECAUSE_BROKEN state, in the docs recommend to call unloadApplication to force the NOT_LOADED state in order to retry the mount again.
image
However, the docs also mention that the application MUST implement the unload lifecycle function, which react doesn't have.
image

To Reproduce
When calling unloadApplication, application doesn't switch to NOT_LOADED state, because unload doesn't exist.

Expected behavior
When calling unloadApplication, application should switch to NOT_LOADED state and retry the mount.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant