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

Dynamically add components #75

Open
davidbrochart opened this issue Apr 22, 2023 · 2 comments
Open

Dynamically add components #75

davidbrochart opened this issue Apr 22, 2023 · 2 comments

Comments

@davidbrochart
Copy link
Contributor

I was wondering if it could be possible to add components to a container component after it has started. I don't think it's currently possible, since it would break the rule that all child components have started when the start method of the container component has completed, but would it make sense to allow this?

@agronholm
Copy link
Member

I'm not sure this is something we want to support, as it would complicate the design. Do you have a specific use case in mind?

@davidbrochart
Copy link
Contributor Author

I have a use case with Jupyverse and JupySpace. They are web servers based on Asphalt-web. JupySpace launches Jupyverse servers on demand, currently in a subprocess. But I'm thinking about running JupySpace and a number of Jupyverse servers in the same event loop. JupySpace would provide the root container component and start Jupyverse components dynamically.

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

2 participants