I have a React Native project using front-generator, where I implemented the change theme using the example from the demo app of ‘ui-kitten’. The problem is that every time I change the theme i have the following warning: ’ MobX Provider: Provided store ‘mainStore’ has changed. Please avoid replacing stores as the change might not propagate to all children '.
I tried to put the theme provider downwards in component tree, under the cuba app provider but…nothing.
Any idea is welcome because I’m a little stuck in it.
The platform version is 7.2.4,
mobx version is 4,
mobx-react is 5