We are making a mobile application using react-native. Each page is built with react-native components, and each screen contains many different sub-components.
enter image description here
Based on the mobile app created as shown in the picture above,
I want to allow external partner developers to extend the app.
enter image description here
Is there a way to extend the extension by receiving the extension program (subcomponent) created by the developer of an external partner company?
The extension method that our company is thinking of is similar to the operation of program installation(such as windows program install in pc)
Is there a way to activate the sub-components created by the developer of an external partner company in the same operation as the installation?
Is there a way to load sub-components created by external partner developers like UI using a "slot-fill" approach?
From the research we've conducted so far, there seem to be no "official" way to do this, so I'm wondering what would be the best approach in this case.
question from:
https://stackoverflow.com/questions/65920521/create-an-extensible-architecture-with-react-native-and-applying-install-envirom 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…