React
-
프로그래머스 데브코스 - 8월 4주차 WILReact 2023. 8. 27. 23:36
🔔 서론 어느덧 데브코스의 리액트 과정이 2/3가 지나가는 시점이다. 생각보다 내가 몰랐던 내용들에 많이 노출되고 있다는 즐거움 반, '내가 이렇게나 모르는게 많았는데 리액트를 했다고 생각한거야?' 라는 허탈함 반으로 열심히 학습중이다. 이번 주 WIL은 React hook과 자주 사용되는 로직을 별도로 관리하는 custom hook에 대한 내용을 다룰 것이다. 🎁 React Hook Hook은 함수 컴포넌트에서 React state와 생명주기 기능(lifecycle features)을 "연동(hook into)" 할 수 있게 해주는 함수다. - React 공식 문서 Hook은 React 16.8v부터 추가된 기능으로 class 형식의 컴포넌트에서만 가능했던 state 관리 및 라이프 사이클 등을 함수형..
-
프로그래머스 데브코스 - 8월 3주차 WILReact 2023. 8. 21. 00:00
🔔 서론 학습에 지장이 생길 정도로 터무니없이 더운 날씨에게 괴롭힘들 당하는 8월 중순, 드디어 데브코스에서 react과정을 시작하게 됐다. 아마 대부분의 수강생들이 vue보다는 react를 더 많이 사용해보았으리라 생각하고 이번 주차부터 반가움을 금치 못 할거라 생각한다. 내가 react를 공부했던 이유는 단순했다. 주변사람들이 많이 썼기 때문이다. angular나 vue는 주변에서 사용하는 사람도 거의 없었고(실제로 0명..) 현업에서도 react를 많이 사용한다는 이야기를 들었기 때문에 자연스럽게 react를 접하게 됐다. 하지만 깊게 공부할 기회는 없었고 얕은 지식으로 이것저것 부딪히며 공부를 했었기에 부족한 점이 많은 상태여서 이번 react 과정은 부족한 점을 채울 수 있는 정말 좋은 기회라 ..