Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 80,912 posts.

Any topic
Any year
20881

Hooks Considered Harmful

React hooks changed radically how we build frontend applications allowing engineers to separate stateful logic from rendering. However, under a seemingly simple API there are some aspects of React hooks that are the source of bugs and performance issues. In this article, we will do a deep dive into the javascript…

20904

Aluminum foil (2021)

It’s typically 10 μm thick and 400 mm wide, giving it an aspect ratio of 40000 in that dimension, and rolls are commonly some ten meters in length, for an aspect ratio of 1 000 000; heavy-duty versions can reach 30 μm or more. Despite their thinness, foils of 25 μm or more are impermeable to oxygen, water, and light…