How to inject style theme into react apps based on subdomain

Viewed 21

I'm building a series of personalized react apps that communicate to my back-end api.

I'm iterating on my api and adding features, and I implement those on the front end of each new app i make, but my problem is that the old react apps don't include the new functionality or components.

Is there a way to separate the styling from the hooks and components of the react app such that any features i add would automatically be overlayed with the appropriate styling based on something like the subdomain of the app?

0 Answers
Related