React

React

[React] Before you memo()

https://overreacted.io/before-you-memo/ ๋ฅผ ์ฝ๊ณ  ์ •๋ฆฌ

Read
Frontend

[FE] ํ”„๋ก ํŠธ์—”๋“œ ์„ฑ๋Šฅ ์ตœ์ ํ™”

FE ์„ฑ๋Šฅ ์ธก์ •๊ณผ ์ตœ์ ํ™” ๋ฐฉ๋ฒ•๋“ค

Read
React

[React] Ref

useRef๋Š” ๋‚ด์šฉ์ด ๋ณ€๊ฒฝ๋  ๋•Œ ๊ทธ๊ฒƒ์„ ์•Œ๋ ค์ฃผ์ง€๋Š” ์•Š๋Š”๋‹ค๋Š” ๊ฒƒ์„ ์œ ๋…ํ•˜์„ธ์š”. .current ํ”„๋กœํผํ‹ฐ๋ฅผ ๋ณ€ํ˜•ํ•˜๋Š” ๊ฒƒ์ด ๋ฆฌ๋ Œ๋”๋ง์„ ๋ฐœ์ƒ์‹œํ‚ค์ง€๋Š” ์•Š์Šต๋‹ˆ๋‹ค. React๊ฐ€ DOM ๋…ธ๋“œ์— ref๋ฅผ attachํ•˜๊ฑฐ๋‚˜ detachํ•  ๋•Œ ์–ด๋–ค ์ฝ”๋“œ๋ฅผ ์‹คํ–‰ํ•˜๊ณ  ์‹ถ๋‹ค๋ฉด ๋Œ€์‹  ์ฝœ๋ฐฑ ref๋ฅผ ์‚ฌ์šฉํ•˜์„ธ์š”.

Read
React

[React] Code Splitting

๋Ÿฐํƒ€์ž„์— ๋ฒˆ๋“ค์„ ๋™์ ์œผ๋กœ ์ƒ์„ฑํ•˜๊ณ  ๋ถˆ๋Ÿฌ์˜ค๋Š” ๊ฒƒ

Read
React

[React] Mobx ๋ฆฌ๋ทฐ ๋ฐ ์‚ฌ์šฉ๊ธฐ, Redux์™€ ๋น„๊ต

๋„ค์ด๋ฒ„ ์ธํ„ด์‹ญ 6์ฃผ์ฐจ ๊ณผ์ œ๋ฅผ ์ง„ํ–‰ํ•˜๊ณ  ๋‚˜์„œ ์“ด Mobx ๋ฆฌ๋ทฐ

Read
Javascript

[Javascript] Wrapper ๊ฐ์ฒด

์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ์˜ Wrapper ๊ฐ์ฒด๋ž€, ์›์‹œ ํƒ€์ž…์„ ๊ฐ์ฒดํ™” ์‹œ์ผœ์ฃผ๋Š” ๊ฐ์ฒดํ˜• ๋ฐ์ดํ„ฐํƒ€์ž…!

Read
Javascript

Immutability in JS

JS์˜ immutability, ๊ทธ๋ฆฌ๊ณ  ๊ทธ๊ฒƒ์ด ์ค‘์š”ํ•œ ์ด์œ 

Read
Javascript

JS Date ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ, date-fns vs. moment.js

๋„ค์ด๋ฒ„ ์ธํ„ด์‹ญ ์ค‘ 1์ฃผ์ฐจ ๊ณผ์ œ๋กœ ์บ˜๋ฆฐ๋” ์•ฑ์„ ๊ฐœ๋ฐœํ•˜๋ฉด์„œ... date-fns์™€ moment js ์ฐจ์ด์  ๋ฐ ์žฅ๋‹จ์  ๋น„๊ต

Read