🍎 2021.03.14 🍎
본격 내가 보려고 기록하는 참고 사이트들
react-navigation
axios & fetch
백엔드로 사용하는 Django API
와 연결하기 위해서 react-native
에서는 axios 또는 fetch를 사용한다. 이전에 웹사이트 개발할 때와 비슷한 게 fetch 방식이라 이걸 먼저 시도했는데, axios를 사용하는 것도 나쁘지 않겠다는 생각이 들어 바꿔볼까 싶음.
npmjs.com
에 있는 react-native-axios 패키지에 대한 문서reactnative 공식문서
- fetch에 대한 설명react-native (ios) debugging 관련
https://stackoverflow.com/questions/30115372/how-to-do-logging-in-react-native
https://stackoverflow.com/questions/58783531/react-native-fetch-not-outputting-body-in-console-log
https://reactnative.dev/docs/debugging
아닛, reactnative 공식문서
에 debugging에 대해 너무 자세히 말해주고 있었다!
발견한 해결법은 ios simulator
에서 command + D 를 해주면 debugging 창으로 연결할 수 있다!
(이거 발견하고 보니 내 코드는 오류가 한가득이었다는...)
pgadmin4 를 설치하는 방법도 있다. - 백엔드와 소통 필요
일단...화이팅...... ... .. ...!.... !!!!