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

RFC: Allow plugins to be declared/loaded as a React component #1336

Open
joaquimrocha opened this issue Aug 18, 2023 · 0 comments
Open

RFC: Allow plugins to be declared/loaded as a React component #1336

joaquimrocha opened this issue Aug 18, 2023 · 0 comments

Comments

@joaquimrocha
Copy link
Collaborator

We have discussed a few times that we need to create a more structured life-cycle for plugins, namely plugins should be able to understand when they're being loaded, and when they are being disabled, unloaded, etc.

I think @illume has previously suggested that we could have plugins be just a react component, since components already have a life cycle they can control.

This would also make it easier for plugins to set up hooks that don't necessarily need to be run in a visual component.

Any comments about this?

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

No branches or pull requests

1 participant