일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 기본
- CSS-in-JS
- front-end mocking
- link
- Basic
- JavaScript
- Cache
- 기초
- 자바스크립트
- amplify
- styled-component
- react-native
- sprinkles
- react server component
- mock service worker
- 아키텍처
- 동기
- thread
- next hydration
- SWC
- 개발자
- 리액트쿼리
- vanilla-extract
- 컴포넌트
- Concurrent Mode
- Babel
- Critical Rendering Path
- 리액트네이티브
- 최적화
- React
- async
- 캐쉬
- react-query
- next.js
- 쓰레드
- 리액트
- 목킹
- 비동기
- MSW
- mockoon
Archives
- Today
- Total
목록리액트라이프사이클 (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