Creating a DataBag Context that carries around data flexibly in Expo / React Native
When dealing with paramaters that you want available throughout your whole App, you most likely turn to props, Redux or useContext. How to create one bag with data that you can easily access throughout all your app? First, define your DataBagContext and a custom hook for easy access. Then, define the DataBagProvider component which uses […]
Creating a DataBag Context that carries around data flexibly in Expo / React Native Read More »