frintjs / frintjs/frint

Proposal: allow Child Apps to be unregistered

Open
#401 0 comments 1 reaction 0 assignees View on GitHub
proposal
Dominant language
JavaScript
Stars
756
Forks
33
PR merge metrics
No merged PRs in 30d

Description

## 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).

Contributor guide

Open the contributing guide

Research direction

Start at the public app registration API and trace how Child Apps are registered, stored, and instantiated. Check the existing lifecycle and callback behavior for Child App instances; done means a named Child App can be removed through the proposed API and any of its instances are properly destroyed.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.