The journey to becoming a developer

My future is created by what I do today, not tomorrow.

What I learned/CodeSquad Log

CodeSquad Day 40 : Front-end Week 3

Millie 2022. 3. 5. 02:40

 

CodeSquad๐Ÿ”นDay 40

Refactoring & PR

์•„์นจ ์šด๋™ ์ธ์ฆ์„ ํ•˜๊ณ , ์•„์นจ์‹์‚ฌ๋ฅผ ํ•˜๊ณ  ๊ฐ„๋งŒ์— 9~10์‹œ ์‹œ๊ฐ„ ์‚ฌ์ด์— ์ฝ”๋”ฉ์„ ํ–ˆ๋‹ค. ์•ž์œผ๋กœ๋Š” ๊ฐ„๋งŒ์ด ์•„๋‹ˆ๋ผ ๊พธ์ค€ํžˆ ํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•  ์˜ˆ์ •์ด๋‹ค. ์•„์นจ์„ ์—ฌ๋Š” ์‚ฌ๋žŒ๋“ค(์•„์—ฌ์‚ฌ) ์คŒ ๋ชจ์ž„์— ์ฐธ์—ฌํ–ˆ๋Š”๋ฐ ํ•ญ์ƒ ๊พธ์ค€ํžˆ ์ผ์ฐ ์ผ์–ด๋‚˜์„œ ๊ณต๋ถ€ํ•˜๋Š” ์‚ฌ๋žŒ๋“ค์„ ๋ณด๊ณ  ์ž๊ทน์„ ๋ฐ›์•˜๋‹ค.

1์‹œ๊นŒ์ง€ PR์„ ๋ณด๋‚ด์•ผ ํ–ˆ์ง€๋งŒ ์•„์ง ๋œ ๋งˆ๋ฌด๋ฆฌ๋œ ๊ฒƒ์ด ์žˆ์–ด ์•ฝ๊ฐ„ ๋Šฆ๊ฒŒ ๋ณด๋ƒˆ๋‹ค.

 

Promise

์˜คํ›„ ์‹œ๊ฐ„์€ ๊ฑฐ์˜ Promise ํ•™์Šต์— ์—ด์„ ์˜ฌ๋ ธ๋‹ค. Promise.all๊ณผ Promise.race์˜ ์ฐจ์ด๋Š” ๋ฌด์—‡์ธ์ง€ ํ•™์Šตํ•ด๋ดค๊ณ , Promise.all์„ ๋‚ด ์ฝ”๋“œ์— ์ ์šฉ๋„ ํ•ด ๋ณด์•˜๋‹ค.

 

Code Review

์ด๋ฒˆ์—๋Š” namse๋‹˜์ด ๋ฆฌ๋ทฐ๋ฅผ ํ•ด ์ฃผ์…จ๋‹ค. ์–ด์ฉŒ๋‹ค ๋ณด๋‹ˆ ์‹ค์‹œ๊ฐ„์œผ๋กœ namse๋‹˜์˜ ๋ฆฌ๋ทฐ์— ๋Œ“๊ธ€๋กœ ์†Œํ†ต์„ ํ•˜๊ณ  ์žˆ์—ˆ๋‹ค. ๊ทธ๋ž˜์„œ ๋” ๊ถ๊ธˆํ–ˆ๋˜ ์ ๋“ค์ด ํ•ด์†Œ๋  ์ˆ˜ ์žˆ์—ˆ๋‹ค.

 


 

๊ทธ๋ฃน ๋ฆฌ๋ทฐ๊ฐ€ ๋๋‚œ ํ›„์—๋Š” ๋‹ค๋ฅธ ์ผ์ฒ˜๋ฆฌ๋ฅผ ํ•˜๋Š๋ผ ๊ณต๋ถ€๋Š” ๋งŽ์ด ํ•˜์ง€ ๋ชปํ–ˆ๋‹ค. ๋ชป ํ–ˆ๋˜ ๊ฒƒ์„ ์ฃผ๋ง ์‹œ๊ฐ„์„ ์ด์šฉํ•ด์„œ ๋งŽ์ด ๋”ฐ๋ผ์žก๋„๋ก ํ•˜์ž. ๋‚ด์ผ์€ ์ผ๋‹จ Git์„ ์ค‘์ ์ ์œผ๋กœ ํ•™์Šตํ•ด ๋ณผ ๊ฒƒ์ด๋‹ค.

(๋ฒŒ์จ ์ฝ”๋“œ์Šค์ฟผ๋“œ 40์ผ์ฐจ! ์ด ํšŒ๊ณ ๋Š” ๋” ์—…๊ทธ๋ ˆ์ด๋“œ ํ•ด์•ผ๊ฒ ๋‹ค)

'What I learned > CodeSquad Log' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

CodeSquad Day 44 : Pair Programming  (0) 2022.03.11
CodeSquad Day 42 : Pair Programming  (0) 2022.03.09
CodeSquad Day 39 : Front-end Week 3  (0) 2022.03.04
CodeSquad Day 38 : Front-end Week 3  (0) 2022.03.03
CodeSquad Day 37 : Front-end Week 3  (0) 2022.03.02