E
E
egorkozelskij2019-02-09 18:10:57
go
egorkozelskij, 2019-02-09 18:10:57

What are the options for implementing dynamic modules for the web?

Hello!
There is a basic front layout in React + Redux and an api server in golang. I'm interested in implementation options for external, dynamically loaded modules written by users.
That is, the user uploads a folder with server logic (let it be on lua) to the server and gives a description in some form of how it affects the interface. And already when the page is loaded, the system collects all this (or dynamically embeds it).
While I see one option - brute force. Simple hard "pushing" html + js + css into the page dynamically. Everything works, but it is very inconvenient and, it seems to me, crooked.
Maybe there are more convenient means of connecting external modules (maybe even in native React)? What do you advise?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question