Recent posts

The Rose of Versailles, Marie Antoinette

less than 1 minute read

The greatness of the human spirit reveals itself only when it meets adversity. Just as silver is separated from lead, the hardships that fate spins out come ...

If Hemingway Wrote JavaScript

less than 1 minute read

A book I picked up to cool down a head overheated by an urgent project. But my head only got hotter.

next.js dynamic import

less than 1 minute read

next.js에서 dynamic import 함부로 하지 마라. 컴포넌트 내부에서 선언하면, 그 컴포넌트를 리렌더링 할 때마다 dynamic import 한 컴포넌트를 새로 그린다.

next.js dynamic import

less than 1 minute read

Don’t use dynamic import carelessly in next.js. If you declare it inside a component, the dynamically imported component gets re-rendered from scratch every ...

남미 여행 그리고 남미 이야기

less than 1 minute read

한 달여의 남미 종주는 브라질에서 시작하여 아르헨티나, 칠레, 볼리비아, 페루로 이어진다. 반시계 방향의 여정에서 보이는 남미 대륙의 풍광과 유적은 그야말로 장엄하다. 이과수 폭포, 안데스 산맥과 빙하,유우니 사막과 마추픽추의 거석에 이르기까지 무엇 하나 빼놓을 수 없다. 하지만 ...

함수형 자바스크립트

less than 1 minute read

내가 lodash와 underscore를 사용한지 어언 10년이 다 되어간다. 함수형 자바스크립트라면 나름 익숙하다고 생각했다. 따로 공부한 적은 없었지만 말이다. 하지만 이 책을 읽고 보니 내가 그간 오만했음을 뒤늦게 깨달았다.

Functional JavaScript

1 minute read

It’s been nearly ten years now since I started using lodash and underscore. I thought I was fairly familiar with functional JavaScript, even though I had nev...

scroll event는 어디에서 발생하는가?

less than 1 minute read

HTML element의 scroll 이벤트는 어디에서 발생하는가? 햇갈리는 질문이다. 다시 말해보자. 내가 일으킨 scroll 이벤트는 어느 element에서 잡아 채는가? 그래도 햇갈린다. 다시 말해보자. onscroll 이벤트를 어느 element에 설정해야지 내가 원하는대로...

Where does the scroll event fire?

1 minute read

Where does an HTML element’s scroll event fire? It’s a confusing question. Let me put it another way. When I trigger a scroll, which element catches the scro...

Next.js 14 parallel route 오류 해결법

1 minute read

Next.js의 패러렐 라우트 기능을 사용하면 modal UI를 간편하게 구현할 수 있다고 한다. 하지만 14.2.16 버전에서 확인해보니 정상 동작하지 않는다. 패러렐 라우트가 정상 동작하는 앱의 소스 코드를 github에서 확인해보니 next.js 15 버전이다.

How to fix Next.js 14 parallel route errors

1 minute read

They say that using Next.js’s parallel routes feature lets you easily implement a modal UI. But when I tried it on version 14.2.16, it didn’t work properly. ...

Next.js dynamic route의 에러 처리

less than 1 minute read

Next.js의 dynamic route 기능을 사용하면 간단하게 API proxy server를 만들 수 있다. 좋은 기능이지만 proxy server에서 오류를 response 하는 방법이 조금 기묘하다.