callstack / super-app-showcase

Monorepository template for super app development with React Native and Re.Pack
MIT License
382 stars 63 forks source link

How to handle a case where mini apps are in separate repositories #62

Closed krzysztofzaluski closed 10 months ago

krzysztofzaluski commented 10 months ago

In this example we have sample mini apps inside packages folder in one repository. Can we handle a case when we have one host app in one repository and other mini app packages comes from separate repositories?

We have "federatedDependencies" in host/package.json where we can provide an URL - so it's only about to change this URL to specific mini app repository URL and that's all?

krzysztofzaluski commented 10 months ago

ok, now I just noticed that there is an example with remote repository with "news" package, sorry for that, closing the question ;)

thymikee commented 10 months ago

Glad you found it. If you see anything that could be easier to discover, please feel free to contribute to the docs :)