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

Proposal: allow Child Apps to be unregistered #401

Open
fahad19 opened this issue Jan 11, 2018 · 0 comments
Open

Proposal: allow Child Apps to be unregistered #401

fahad19 opened this issue Jan 11, 2018 · 0 comments
Labels

Comments

@fahad19
Copy link
Member

fahad19 commented Jan 11, 2018

Currently

We only allow registering Child Apps. But there is no public API to remove them.

Proposal

Implement app.unregisterApp(childAppName) method.

The argument childAppName is a string, and it will look for any registered Child App with that name, and remove them. If they happen to have instances, then their instances should be properly destroyed (so that their callbacks can fire properly).

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

No branches or pull requests

1 participant