Обложка канала

TheFrontEnd🔥

10926 @thefrontend

📝 Articles🗞 News 👓Tutorials 🤔 UI/UX thoughts ‌

TheFrontEnd🔥

6 лет назад
Открыть в
Brainstorm time

React + Redux multi tenancy.

What are your thoughts / experience on building a multi tenant environment within the scope of React & Redux.

Suppose you have different tenants / users that can customise you app for themselves. Tenancy context is defined by separate domains.

Both UI and functionality varies per tenant.

Things I am thinking about is general architectural approach that would be viable here

E.g.

Custom themes, colours, UI etc - should this be retrieved from BE and stored in Redux store then applied throughout app with in line styling or there is a better way than redux store? It seems that redux is a bit suboptimal here for that purpose, but I can't think of a decent / better way to dynamically apply styling per tenant.