분류 전체보기
-
[Inflean 장기효] 입문강의프로그래밍 언어/TypeScript 2023. 7. 20. 17:53
실습환경에서 주의할 내용 ESlint에서 잡아주는 문법을 보아야하기때문에 설치 확인을 꼭합시다 crtl +, 를 통해서 format on save 비활성화를 통해서 prettier와 beatify를 꺼야한다. (eslint만으로만 문법을 확인하기 위해서) 할일 관련 프로젝트 파일을 알아보자 tsconfig.json compilerOptions 세부사항을 어떤식으로 주느냐에 대한 얘기가 있따 allowJs , checkJs, noImplicaitAny 가 무엇인지 알아봐야겠구만 붉은색 에러는 ts -=> js 로 변화할 때 제거를 꼭 해주어야한다. esilnt가 ts 문법을 보조해주고 있다 any 라는 타입은 무엇인가? 모든 타입을 통칭하는 것 함수의 반환타입에 대해서 알아보자 void 란 무엇인가? 반환..
-
[항해99 mini-project] 중간 점검개발일지/항해 99 2023. 7. 18. 16:28
아쉬움 1. 처음 코드컨벤션과 와이어프레임을 구성을 하고 나서 시작을 하니깐 좀 더 쉬운 느낌이 들었지만 막상 ESlint와 prettier를 사용하지 않고 하다보니 둘 다 좀 다른 부분이 많아서 이 부분에서 다시 리팩토링을 하는 시간이 들어야 한다는게 아쉬웠다. 2. doc을 구성할 때 조금 더 세세하게 구성을 하였다면 좋았을텐데라는 생각이 들었다. ex) 나영님 doc 구조를 임시로 참고하였음 근데 좋음 ㄷㄷ.. file의 이름도 pages > DetailPage.jsx 이런식으로 하고 apis의 구성도 세세하게 나누고, 특히나 containor를 미리미리 나누었다면 좀 더 깔끔한 코드가 되었을텐데라는 아쉬움도 있다. 3. 백엔드와의 소통이 적었다는 게 아쉬웠다. 화요일에 서버가 배포가 끝나서 확인 ..
-
[유투브 어딘가] 통신에 관련된 영상을 잠깐보았다.프로그래밍/React 2023. 7. 18. 00:14
처음에는 JWT 토큰에 대한 내용을 찾아보다가 잘못들어 갔었다. 서버에 대해서 node.js들은 어떤식으로 구성하는지 보았는데 기억은 잘 안나지만 재밌어보였다. 클라이언트에서 서버로 요청을 할 때에 정보는 body 안에 넣어서 준다는 것을 알게되었다 fetch의 형식에 대해서 다시 한번 복습하는 기회가 되었다. fetch('서버주소').then((response)=>response.json()).then((data)=> console.log(data)); fetch를 사용할때에는 바디에 담아서 직렬화를 해준 다음에 보내준다. cors정책에 대해서 조금 더 알게되는 시간이 되었다 cross origin resorce sharing 에러가 난다면 어떻게 해결해야할까? client : 3000 개발서버 ser..