Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ...
- service.queryListToInfoList(response.data || []);
- ...
- export const queryListToInfoList = queryList => queryList.map(ql => queryToInfo(ql));
- export const queryToInfo = query => { //some process; return {..}};
- "dependencies": {
- ...
- "react": "16.5.1",
- "react-native": "^0.57.1"
- ...
- },
- "devDependencies": {
- ...
- "@babel/core": "^7.1.0",
- "@babel/plugin-external-helpers": "^7.0.0",
- "babel-core": "^7.0.0-0",
- "babel-preset-env": "^1.7.0",
- "metro-react-native-babel-preset": "^0.45.0"
- ...
- }
- {
- "presets": ["module:metro-react-native-babel-preset"]
- }
Add Comment
Please, Sign In to add comment