+ 1
MobX as common codebase for CRA and Expo
I managed to create single codebase for app and web in using yarn workspaces. But the decorators and class properties are showing error, as the legacy properties of them are not enabled. how to configure mobx to support for both cra and expo?
3 Respostas
+ 4
Try these tutorials
https://itnext.io/easily-integrate-mobx-into-react-native-app-with-expo-and-react-navigation-29ecf7c14012
https://medium.com/jstack-eu/using-mobx-decorators-in-create-react-app-v3-27f7b1afa1c7
and these repos might be handy as well:
https://github.com/gitvani/react-native-expo-mobx
https://github.com/rsandagon/react-native-mobx-expo
It worked great for me with expo and after i ejected from expo to bare workflow
+ 2
No probs
Best of luck 👌
+ 1
will look into it, thank you so much!!