recipe-app-react-native
recipe-app-react-native copied to clipboard
replace source of a static data
Description/Steps to reproduce
Before we have an assets/data/
folder when we store our recipes, right now, we moved that files into groceristar-fetch plugin. you should connect it and use.
Place that should be replaced:
- [ ] https://github.com/ChickenKyiv/recipe-app-react-native/blob/master/src/components/Directions/index.js#L6
- [ ] https://github.com/ChickenKyiv/recipe-app-react-native/blob/master/src/components/FreeRecipes/index.js#L6
- [ ] https://github.com/ChickenKyiv/recipe-app-react-native/blob/master/src/components/GroceryList/GroceryList.js#L8
- [ ] https://github.com/ChickenKyiv/recipe-app-react-native/blob/master/src/components/GroceryList/index.js#L12-L25
- [ ] https://github.com/ChickenKyiv/recipe-app-react-native/blob/master/src/components/GroceryListDepartment/index.js#L4
- [ ] https://github.com/ChickenKyiv/recipe-app-react-native/blob/master/src/components/GroceryListSettings/index.js#L12-L21
you can see how Shivam connect fetch plugin and grab data from it here: https://github.com/GroceriStar/react-native-shoppin-list/blob/master/src/HelperFunctions.js