» Tag
javascript
113 postsDeterministic Wrong: The Design Principles Behind a Viral Web Toy
Wrongulator intentionally gives the same wrong answer to all users, enhancing shareability and virality in social contexts.
Building a Video Watch-Time Heatmap: Interval Tracker and More
Create a video watch-time heatmap with zero dependencies. Analyze viewer behavior.
Holepunch's Bare Runtime: Why They Abandoned Node.js
Holepunch has created a new foundation for P2P applications with Bare runtime, overcoming the limitations of Node.js. Read more about it here.
CommitBrief — AI code reviews, right in your terminal
A provider-agnostic, local-first CLI that reviews your staged changes, a historic range, or a whole GitHub pull request. Zero telemetry, no server. Free and open source.
commitbrief.comchwire: A New Native-Format JavaScript Client for ClickHouse
chwire is an open-source JS client for ClickHouse that speaks the Native binary format over HTTP and TCP, offering much faster encoding and decoding than JSONEachRow.
Refactoring Habit Streak Logic Into a Single React Hook
How habit-streak calculation—timezones, night shifts, custom reset hours—can be centralized into a single reusable React hook, with notes on testability and UX pitfalls.
React useCallback vs useMemo: When Do You Really Need Them
Wrapping every function in useCallback can hurt performance instead of helping. Learn a profiler-first approach to knowing when useMemo and useCallback actually matter.
Limn Engine: display.perform() and the hidden fake canvas
Limn Engine's advanced guide explains display.perform(), the dual-canvas rendering pipeline, and why TileMap rendering depends entirely on it.
How JavaScript Hoisting Actually Works Under the Hood
Hoisting isn't code movement — it's memory allocation. A technical breakdown of how var, let, const and functions behave inside the JS engine.
TypeScript Decorators: Migrating from Legacy to TC39 Standard
TC39 standard decorators break compatibility with experimentalDecorators: parameter decorators are gone and metadata handling changed. A code-driven migration guide for production teams.
Every new JavaScript feature worth knowing
A tour of new JavaScript features from ES2025 to ES2027, including Set methods, Iterator Helpers, Promise.try, Import Attributes, and RegExp.escape.