반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- props
- dataFetching
- 자바스크립트
- GirlsInICT해커톤
- getDerivedStateFromProps
- 에릭슨엘지
- filter
- Baekjoon
- map
- ts
- Erricson
- 백준
- React.js
- Unmounting
- Girls_In_ICT
- 15721
- next
- 훈훈한자바스크립트
- javascript
- 이미지스캔
- js
- 객체인지
- nodejs
- react
- axios
- 코드캠프
- typescript
- Bestawards
- props.key
- BOJ
Archives
- Today
- Total
목록리액트 (1)
민희의 코딩일지

구조 분해 할당이란? (ES6) 배열이나 객체의 속성을 해체하여 그 값을 개별 변수에 담을 수 있게 하는 Javascript 표현식이다. Clean Code를 위해서 사용한다. 1- 객체 구조 분해 할당 function buildAnimal(animalData) { let accessory = animalData.accessory, animal = animalData.animal, color = animalData.color, hairType = animalData.hairType; } let obj = { accessory: 'horn', animal: 'horse', color: 'pupple', hairType: 'curly' } function buildAnimal(animalData){ let ..
WEB FE/React
2023. 2. 3. 19:50