Recent posts

JS DataType

less than 1 minute read

์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ์˜ ๋ฐ์ดํ„ฐ ํƒ€์ž…์€ ํฌ๊ฒŒ ๋‘ ๊ฐ€์ง€๋กœ ๋ถ„๋ฅ˜๋œ๋‹ค.

Intersection Observer

less than 1 minute read

Intersection Observer๋ž€ ํƒ€๊ฒŸ ์š”์†Œ์™€ ์ƒ์œ„ ์š”์†Œ ๋˜๋Š” ์ตœ์ƒ์œ„ Document์˜ Viewport ์‚ฌ์ด์˜ Intersection ๋‚ด์˜ ๋ณ€ํ™”๋ฅผ ๋น„๋™๊ธฐ์ ์œผ๋กœ ๊ด€์ฐฐํ•˜๋Š” ๋ฐฉ๋ฒ•์ด๋‹ค.

JS Hoisting

1 minute read

Hoist: ์†Œํ˜•์˜ ๊ฐ์•„์˜ฌ๋ฆฌ๋Š” ์žฅ์น˜. ๊ณต์žฅ ๋‚ด์˜ ์žฌ๋ฃŒ ์šด๋ฐ˜ยท์กฐ๋ฆฝ์— ์‚ฌ์šฉํ•˜๋ฉฐ, ๋“ค๋ณด ์œ„์—์„œ ์ด๋™์‹œํ‚ด. ๊ตฌ๋™ ๋ฐฉ์‹์— ๋”ฐ๋ผ ๊ณต๊ธฐ ํ˜ธ์ด์ŠคํŠธยท์ „๊ธฐ ํ˜ธ์ด์ŠคํŠธ ๋“ฑ์œผ๋กœ ๋‚˜๋ˆ„์–ด์ง.

useRef

less than 1 minute read

useRef ๋ž€?

TypeScript

2 minute read

ํƒ€์ž…์Šคํฌ๋ฆฝํŠธ๋ž€?

useCallback

less than 1 minute read

๐Ÿš€ useCallback()

SSE(Server Sent Events)

less than 1 minute read

ํŒŒ์ด๋„ ํ”„๋กœ์ ํŠธ๋ฅผ ํ•˜๋ฉด์„œ ์‹ค์‹œ๊ฐ„ ์•Œ๋ฆผ๊ธฐ๋Šฅ์„ ๊ตฌํ˜„ํ•˜๋ ค๊ณ  ์›น์†Œ์ผ“์— ๋Œ€ํ•˜์—ฌ ์•Œ์•„๋ณด๋˜ ์ค‘ ์ง€์†์ ์ธ ์—ฐ๊ฒฐ์ด ํ•„์š”ํ•œ ์›น์†Œ์ผ“๊ณผ๋Š” ๋‹ฌ๋ฆฌ http ์—ฐ๊ฒฐ๋งŒ ๋˜์–ด ์žˆ์œผ๋ฉด ํด๋ผ์ด์–ธํŠธ ์š”์ฒญ ์—†์ด๋„ ์„œ๋ฒ„์—์„œ ํด๋ผ์ด์–ธํŠธ๋กœ ๋ฐ์ดํ„ฐ๋ฅผ ๋ณด๋‚ผ ์ˆ˜ ์žˆ๋Š” SSE(Server Sent Event) ๋ผ๋Š” ๋ฐฉ๋ฒ•์ด ๋” ํšจ์œจ์ ...