Mojtaba Sabouri·Jun 23The Ref-Snapshot Pattern: 3 Hooks from Telegram’s Codebase That Solve React’s Stale Closure ProblemHow a 10-line pattern from one of the world’s most-used messengers fixes what useCallback quietly gets wrongA response icon2A response icon2
Mojtaba Sabouri·May 18Building a Priority Queue from Scratch in TypeScriptBuilding a Priority Queue from Scratch in TypeScriptA response icon2A response icon2
Mojtaba Sabouri·May 11Heaps Explained: The Math Behind Priority QueuesPart 2 of 3 — Understanding Priority Queues in TypeScriptA response icon1A response icon1
Mojtaba Sabouri·May 10What Is a Queue, and Why Does Priority Matter?Part 1 of 3 — Understanding Priority Queues in TypeScriptA response icon2A response icon2