Sam Apostel

Articles

JavaScript gets Array grouping

"I have written this function so many times that I recognise it's shape."

Achieving inbox zero.

Staying on top of things is hard. Build tools that help you.

You might not need useRef for that

According to the React maintainers, React developers reach for the useEffect hook too quickly. It is far from the only hook with many naive usages. Why won't we go through my favorite example of an incorrect usage for useRef?