javascript

์ฃผ์š” ๋ Œ๋”๋ง ๊ฒฝ๋กœ - ๋ธŒ๋ผ์šฐ์ €์˜ ์›๋ฆฌ๋ฅผ ์ดํ•ดํ•˜๊ณ  ์ตœ์ ํ™” ํ•˜๊ธฐ

[Critical Rendering Path](https://developers.google.com/web/fundamentals/performance/critical-rendering-path?hl=ko)๋ฅผ ์š”์•ฝํ–ˆ์Šต๋‹ˆ๋‹ค. ์ด๊ธ€์„ ๋ณด๋Š”๊ฒŒ ๋” ๋‚˜์•„์š” ์‚ฌ์‹ค ```toc tight: true, from-heading: 2 to-heading: 3 ``` ์„ฑ...

Read
javascript web

์™œ CommonJS๋Š” ๋ฒˆ๋“ค์‚ฌ์ด์ฆˆ๋ฅผ ํฌ๊ฒŒ ํ•˜๋Š”๊ฐ€?

[How CommonJS is making your bundles larger](https://web.dev/commonjs-larger-bundles/) ๋ฅผ ๋ฒˆ์—ญ & ์š”์•ฝํ•œ ๊ธ€์ž…๋‹ˆ๋‹ค. ```toc tight: true, from-heading: 2 to-heading: 3 ``` **์š”์•ฝ: ์›น ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ํ™•์‹คํ•˜๊ฒŒ ์ตœ์ ํ™”ํ•ด์„œ ๋ฒˆ๋“ค๋งํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š”, C...

Read

ํ”„๋ก ํŠธ์—”๋“œ ๊ฐœ๋ฐœ์ž๊ฐ€ ์•Œ์•„์•ผ ํ•˜๋Š” Angular์™€ React์˜ Change Detection

[What every front-end developer should know about change detection in Angular and React](https://indepth.dev/what-every-front-end-developer-should-know-about-change-detection-in-angular-and-react/)๋ฅผ ๋ฒˆ...

Read

๋ฆฌ์•กํŠธ ๊ณ ์ฐจ ์ปดํฌ๋„ŒํŠธ (React Higher Order Component)

[์ด ๊ธ€](https://ko.reactjs.org/docs/higher-order-components.html)์ด ํ•œ๊ธ€๋กœ ๋ฒˆ์—ญ์ด ์•ˆ๋˜์žˆ์–ด์„œ ๋Œ€์ถฉ ๋ฒˆ์—ญํ•ด๋ด…๋‹ˆ๋‹ค. # Higher-Order Components ๊ณ ์ฐจ ์ปดํฌ๋„ŒํŠธ (์ดํ•˜ HOC)๋Š” ๋ฆฌ์•กํŠธ์—์„œ ์ปดํฌ๋„ŒํŠธ ๋กœ์ง์„ ์žฌ์‚ฌ์šฉํ•˜๊ธฐ ์œ„ํ•œ ๊ณ ์˜ค๊ธ‰ ๊ธฐ์ˆ ์ด๋‹ค. HOC๋Š” ๋ฆฌ์•กํŠธ API์˜ ์ผ๋ถ€๋ถ„์€ ์•„๋‹ˆ๋‹ค. ์ด๋Š” ๋ฆฌ์•กํŠธ...

Read
javascript web

ํ”„๋ก ํŠธ์—”๋“œ ์‚ฌ์ด์ฆˆ ์ค„์ด๊ธฐ

[์ด ๊ธ€](https://developers.google.com/web/fundamentals/performance/webpack/decrease-frontend-size)์„ ๋Œ€์ถฉ ๋ฒˆ์—ญํ–ˆ์Šต๋‹ˆ๋‹ค. ```toc tight: true, from-heading: 2 to-heading: 4 ``` ## webpack 4๋ฒ„์ „ ์ด์ƒ์˜ ๊ฒฝ์šฐ ํ”„๋กœ๋•์…˜ ๋ชจ๋“œ๋ฅผ ์‚ฌ์šฉํ•˜...

Read