1주차 리뷰 #21
Replies: 5 comments
-
리액트 훅의 규칙
베일아웃
많이 쓰는 useState, useReducer에 대해 용어로 정리하는 느낌이 들어 좋았습니다. 일본어가 원서여서 번역체가 약간 있는 것 같습니다. |
Beta Was this translation helpful? Give feedback.
-
마이크로 상태 관리
여기서 상위컴포넌트는 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
사용자 정의 훅 왜 쓸까
멱등성은 꼭 수학적으로 순수한 함수를 말하는 것은 아니다.
const addBase = ({ number }) => {
const [base, changeBase] = useState(1);
return <div>{number+base}</div>;
} →
지역 상태를 효과적으로 사용하는 방법 내용 끌어올리기를 하는 경우는,
|
Beta Was this translation helpful? Give feedback.
-
베일아웃이라는 단어를 이번 책을 통해 처음알게되었습니다.
useState와 useReducer훅에 대해서 한번 더 정리해볼 수 있는 시간이었습니다.
useState를 useReducer로 구현 가능하고, 그 반대도 구현 가능한 점이 인상 깊었습니다! |
Beta Was this translation helpful? Give feedback.
-
이전 리뷰 참고
Beta Was this translation helpful? Give feedback.
All reactions