일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- SWC
- 기초
- 컴포넌트
- Babel
- link
- Basic
- 동기
- mock service worker
- next.js
- mockoon
- 아키텍처
- 개발자
- react-native
- thread
- 리액트쿼리
- 목킹
- 자바스크립트
- 쓰레드
- Concurrent Mode
- front-end mocking
- 최적화
- React
- 비동기
- async
- styled-component
- react-query
- vanilla-extract
- next hydration
- Critical Rendering Path
- CSS-in-JS
- react server component
- sprinkles
- 리액트
- 리액트네이티브
- JavaScript
- 캐쉬
- MSW
- Cache
- 기본
- amplify
Archives
- Today
- Total
목록Lifecycle (1)
Don’t worry about failures

State and Lifecycle Lifecycle 리액트는 클래스형 컴포넌트와 함수형 컴포넌트가 존재한다. 각각의 라이프 사이클에 살펴보자. 우선, 클래스형 컴포넌트를 보면, componentWillMount() {} componentDidMount() {} componentWillReceiveProps(nextProps) {} shouldComponentUpdate(nextProps, nextStatus) { return true / false; } componentWillUpdate(nextProps, nextState) {} componentDidUpdate(prevProps, prevState) {} componentWillUnmount() {} 여기서 리액트 17부터는 componentWil..
React
2021. 6. 19. 14:31