I know that there is a way to dynamically change the theme in ExtJS, by using Fashion of Material theme of modern toolkit.
Is there a way to accomplish this in ExtReact?
I have not found it. Since the code to switch theme is provided by Sencha, it should be available at the same position in ExtReact as in ExtJS.
However, in ExtJS modern kitchen sink, you can switch to dark mode like this:
Ext.theme.Material.setDarkMode(true)
In ExtReact kitchen sink, you cannot:
Ext.theme.Material.setDarkMode(true)
Uncaught ReferenceError: Fashion is not defined (ext.js?4ab9c69b8b9cea6d6cdb:1)
at constructor.hasFashion (ext.js?4ab9c69b8b9cea6d6cdb:1)
at constructor.setDarkMode (ext.js?4ab9c69b8b9cea6d6cdb:1)
at <anonymous>:1:20