Migration guide
This guide assumes you are on the old stack, with
mad-expo-core
and
react-native-salute
. However, it should be
possible to follow this guide even if you are installing mad-core
in a brand new app
note: this package is new. Expect bugs. Expect lacking documentation. If you have any issues, PLEASE create an issue. We want to make this great, but it's impossible to make it great without your input
📄️ Installation
Learn how to install mad core!
📄️ Create a config
Learn how to create a config!
📄️ Use createStackCoreNavigator/createNativeStackCoreNavigator
Learn how to use `createStackCoreNavigator`/`createNativeStackCoreNavigator`!
📄️ Replace react-navigation imports
Learn how to replace react-navigation imports!
📄️ Implement a way to access the settings screen
Learn how to implement a way to access the settings screen!
📄️ Add ErrorBoundary (optional)
Learn how to add ErrorBoundary to your app!
📄️ Implement useLanguage
Learn how to implement useLanguage!
📄️ Implement demo mode
Learn how to implement demo mode!
📄️ Replace imports from mad-expo-core
Learn how to replace imports from mad-expo-core!
📄️ Use addToast
@equinor/mad-core uses @equinor/mad-toast under the hood, and injects a ToastEmitter for you.
📄️ Experimental features
Learn how to use experimental features!
📄️ Use Offline Banner Feature
Learn how to use the offline banner feature!