How to load overlapping routes/components from multiple Plasmic projects?

happy monday! we are planning to use one codebase in multiple projects; is there an example / recommended way for us to instantiate plasmic for one project vs. another based on the domain that a particular request is coming from?

I see that we can pass in an array of ids + tokens to initPlasmicLoader, but I’m not sure how to tell Plasmic which project to render if we have two websites with overlapping route structures, one at and another at

PlasmicComponent does take an optional projectId prop - usually you don’t need this but if you have overlapping route structures / conflicting names, then it comes in handy!

PlasmicComponentLoader.fetchComponentData() also takes an optional project ID

perfect, thanks!