Install, extend theme as Provider props not plugin constant
simpletrontdip opened this issue · comments
Lê Thông commented
- For multiple language apps, switching language also requires updating the theme, e.g. changing flow direction for RTL language.
- For now, we install
theme
via plugin constant injection, this is hard to support the theme switching. - We need support installing/extending the global theme as Provider props instead
- This also helps our tests more clear and concise