recipe-app-react-native icon indicating copy to clipboard operation
recipe-app-react-native copied to clipboard

replace source of a static data

Open atherdon opened this issue 6 years ago • 0 comments

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

Expected result

Additional information

atherdon avatar Sep 19 '18 15:09 atherdon