I’m building a basic web application framework based on reactjs. This app is transpiled by using webpack.
Each user of my framework is runing his own web server.
Now I want to build a plugin system which offers the user to extend the core application dynamically.
webpack chunks are not an option because I like to do this at runtime and the core app should always untouched by a plugin developer. Of course I can request information from a plugin via a REST API from the server. For example to define the entry component or the plugin configuration. Is there maybe a gobal scope where I can register a plugin?
Thanks for any hint.