Recent posts

러닝 리액트 2판 리뷰

less than 1 minute read

흔히들 React를 사용하고 싶으면 공식 문서를 보라고 한다. 하지만 그것만으로 정말 충분한가? React를 사용할 때마다 당황스러운 일이 한두 번이 아니다. 그럴 때마다 나는 고통스럽게도 codesandbox를 열고… 하나하나 테스트를 해본다. 내가 아는 게 정말로 맞는지, 내가...

Learning React 2nd Edition Review

1 minute read

People often say that if you want to use React, you should just read the official documentation. But is that really enough? Every time I use React, I run int...

z-index stacking order

less than 1 minute read

CSS property z-index는 parent를 공유하는 element끼리만 영향을 미친다. 다른 parent의 element와는 무관하다. 그 이유는 stacking order 때문이다. stacking context는 하나의 element당 1개 생성되고, stackin...

z-index stacking order

less than 1 minute read

The CSS property z-index only affects elements that share the same parent. It has nothing to do with elements that have a different parent. The reason for th...

Chrome GC timing

less than 1 minute read

GC는 복잡하고, 크로미움 업데이트 할 때마다 계속 바뀐다. GC는 대부분 증분적으로, 일부는 동시에. 일부는 병렬적으로 한다. 그리고 할당량(?)과 유휴 시간에 결정(?)된다 The summary is that most of the GC work is d...

Chrome GC timing

less than 1 minute read

GC is complex, and it keeps changing every time Chromium is updated. GC is mostly done incrementally, some of it concurrently, and some of it in parallel....

safari의 bounce scroll 문제(2)

1 minute read

iOS는 스크롤 파워가 강할 때 bounce scroll effect를 낸다. 보기 좋은 UX지만, scrollTop을 기준으로 event를 발생시키려면 문제가 발생한다.

Safari’s bounce scroll problem (2)

2 minute read

iOS produces a bounce scroll effect when the scroll has strong momentum. It is a pleasant UX, but it causes problems when you want to trigger events based on...

safari의 bounce scroll 문제(1)

1 minute read

safari에서 scroll event를 다루다보면 괴상한 동작을 발견한다. scrollable container 최상단이 고무줄처럼 튕기는 UI인데, 이를 iOS의 native-style scrolling이라고 한다(출처: https://developer.apple.com/lib...

Safari’s bounce scroll problem (1)

1 minute read

When you work with scroll events in Safari, you run into a strange behavior. It’s a UI where the top of a scrollable container bounces like a rubber band, an...