WIL
-
[1.16~1.22] 12주차 WILWIL 2023. 1. 21. 21:31
이번주에 TIL을 너무 못썼다..반성..ㅠㅠ 이번 주에는 TypeScript 이론을 배웠다. 실제로 TodoList를 만들어보았는데 프로젝트에 적용하려하니 아직 너무 어렵다.. 일단 오늘까지 구현한건, Data 불러오는것까지, 그리고 timestamp 로 저장된 데이터를 불러와서 어떻게 가공해 보여줄 것인지에 대해 고민하고 찾아봤다. firebase에 이렇게 데이터가 저장되어있다. createdAt을 불러오니 정말 저대로 불러와진다. 그럼 어떻게 가공하느냐, getPost라는 함수에서 데이터를 불러오는데, 여기에서 1차 가공해준다. const getPost = () => { onSnapshot(q, (snapshot) => { const newPosts = snapshot.docs.map((doc) =>..
-
[01.09~01.15] 11주차 WILWIL 2023. 1. 16. 10:26
저번 주 목표 firebase와 react native 프로젝트 연결하기 월~토 헬스장 출석하기 팀 룰 잘 지키기 저번주는 코로나때문에 너무 고생했고, 그와중에 팀프로젝트까지 진행하느라 진땀을 뺐다. 격리로 인해서 헬스장은 가지도 못하고.. 늉물.. 이번 주에는, 팀 프로젝트를 하면서 느끼는 바가 많았던 주 이다. 협업을 함에 있어 소통은 제일제일 너무너무 중요하다 소통을 하지 않게 되면, 팀원들에게 어떠한 피해를 끼칠 수 있는지, 나에게는 어떠한 영향이 오는지 알게 되었다. 정해진 그라운드 룰을 잘 지킬 수 있도록 노력하는 것도 중요하다. 물론 100% 다 지켜진 건 아니였지만 그래도 많이 노력한 것 같다.. 이 그라운드 룰을 지키는 과정에서 많은 소통들이 일어나게 되고 일관성 있게 프로젝트를 진행할 ..
-
[12.26~1.1] 9주차 WILWIL 2023. 1. 2. 10:46
새해가 밝았다. 먼저 저번주 목표부터 다시한번 보자. 진행중인 프로젝트 무사히 완성하기✅ firebase로 간단한 crud 개인 프로젝트 만들기 지각하기 않기✅ 월~토 헬스장 가기✅ firebase 사용해서 프로젝트 만드는건 개인과제때문에 조금 미뤄졌다. 프로젝트도 무사히 마쳤고, 지각도 안했고.. 헬스장도 열심히 갔당 ㅎㅎㅎ연말에 달리기는 했지만.. 올 해는 복을 듬뿍듬뿍 받아서 좋은데 취업했으면 좋겠다..(간절한 소망ㅇ입니다유 ㅠㅠㅠ) 헤헤..여하튼 이번주는 React Native 에 대해서 배웠는데, 문법은 그냥 js 사용하면되서 크게 다를건 없다. 다만 태그와 태그속성, style속성이 조금 틀리다. onsubmit 속성은 onSubmitEditing 이고 클릭이 아니라 엔터로 먹히고.. onCh..
-
[12.12~12.18] 7주차 WILWIL 2022. 12. 19. 21:15
이번 주 회고 이번주는 리덕스를 배운 것 같은데, 아직 확실하게 이해하지는 못했다. 리덕스를 사용하는 이유 state를 중앙관리소에 저장해놓고 사용하는 방식으로, 값 변경을 위해 props를 부모→자식1→2→3 이렇게 번거롭게 내려주지 않아도 되기때문에 사용함.(props drilling을 피하기 위해) 로직은 이렇다. 컴포넌트에서 나 이거 보여줄거야. 라고 Dispatch에 action을 담아 Store에 자료를 달라고 명령 Dispatch를 이용하여 store에 state를 변경해달라고 요청. , 변경한것을 불러오는것은 useSelector를 이용(Dispatch와 useSelector는 항상 같이 있어야 함) 이 때, Dispatch > action함수 안에 있는 인자로서 payload를 넘겨줄 수..
-
[12.05~12.11] 6주차 WILWIL 2022. 12. 19. 21:13
이번주에는 React를 사용하여 Todolist 만드는데에 집중했다. javascript는 dom을 조작하는게 어려웠는데 React를 사용하니 직접 dom 조작 할 필요 없어 편리했다. 문법이 익숙하지 않아 약간 헤매고 있는데 todolist를 어찌어찌 만들긴 했다. 내가 만들었는데 코드 보면 내가짠게 맞나..싶을정도로 이해가 되지 않았고, props나 state 사용법도 익숙하지 않아 새로 코드를 짤 때 내가 짠 코드를 계속 보면서 따라치기만 했다. 숙련 강의를 전부 다 듣고 Redux와 router를 이용해 다시 todolist를 만들어봤는데, 레벨이 나와는 맞지 않다. 일단 redux 안쓰고 todo 생성/삭제/스위치 기능 만들기부터 집중하기로 했다. 이제 todo 생성하기에 익숙해지고 있다. 몇번..
-
[11.21~11.27] 4주차 WILWIL 2022. 12. 19. 21:08
정말 어떻게 지나갔는지 모를 한주가 지나갔다. 프로젝트에 미쳐서 TIL 적는것도 매일 놓치고 겨우 WIL을 작성하게 됐다. 이번주에 배운것은 파이어베이스 API 찾는 방법과, 자바스크립트 심화 문법, 다크모드 만들기 등..이 있었다. 아직 코드를 보면 해석은 되는데 이걸 내가 다른 상황에서 작성하게 되면 어떻게 작성해야될지는 감이 안잡힌다. 이런 부분들은 코드를 계속 작성하다보면 익숙해질거라고 생각된다. 그리고 자바스크립트 공부는 계속 해야겠다. 자바스크립트 deep dive 책을 사놓기만하고, 100페이지 이후로 읽지를 않았는데 반성하고 있다. 리액트 배운다고 리액트에만 집중하는게 아니고 꾸준히 자바스크립트 공부까지 해야겠다고 느꼈다. 그리고 이번에 만난 팀원분들 너무너무 좋은분들이였고 리더십 좋은 팀..
-
[11.14~11.20] 3주차 WILWIL 2022. 12. 19. 21:06
벌써 3주차가 흘렀다. 시간이 휙휙 가는 기분이다. 이번주에는 뭘 배웠었나??? 1. 알고리즘.. 감을 잡다 어떻게 풀어야 할줄 몰랐었는데, 입문자용을 계속 풀다보니 비슷한 문제들이 많다. 비슷한 문제들은 동일한 메소드로 머리만 굴리면 풀 수 있다보니 학습이 많이 됐다. 기초프로젝트가 끝나면 다시 알고리즘 시작하는걸로.. 2. spa 에 대해 배웠다. 싱글 페이지(spa)에 대해 배웠는데, 처음 특강때는 이게 무슨말이야? 싶었지만 직접 구현해보니 음..이렇게 쓰면 되겠군 이라는 생각이 들었다. 처음에 pages의 파일명들을 한글로 써서 아스키코드 번역에 문제가 생겼었는데, 처음 겪는것이다보니 왜 오류가 난지 몰라 주말인데도 튜터님을 괴롭혔다..죄송해요... 결국 파일명들 영어로 바꾸고 해결 완료. 근데...
-
[11.07~11.13] 2주차 WILWIL 2022. 12. 19. 21:03
평일에는 실시간 강의.. 알고리즘과 cs를 들었으나 무슨말인지 못알아먹었다. 그래서 알고리즘은 내 실력에 맞게 문제를 풀어보고, cs는 책을 시켰다. 음.. 이번주 딱히 한게 없는 것 같아 토,일요일에 공부를 좀 해봤다. 공부라기에는 뭐하지만, 간단한 페이지 하나 만들기 정도, 근데 페이지만 만드니 html,css만 공부하는 것 같고.. 자바스크립트도 공부하고싶어서 튜터님에게 물어봤는데 투두리스트를 한번 만들어보라고 하셨다. 투두리스트 만들고, 기능이 쉽게 만들어진다면 삭제,수정 기능도 넣어보라고 하셨다. 그정도만 하면 문제없다고 ㅎㅎ 금요일 프로젝트 시작 전 까지는 알고리즘 풀어보기 + 투두리스트 함께 하기로 한다.