» Tag
javascript
107 postsRefactoring 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.
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.comHow 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.
Your Agent Framework Should Not Become Your Architecture
Explore how agent frameworks can impact architecture and discover the AgentsKit project.
Request for Spawn() API in JavaScript Threads
The necessity of a spawn() API for server-side JavaScript threads and its significance for engineers.
Arcade.js: Decompiling MAME ROMs into JavaScript Using LLMs
Arcade.js is an experiment in decompiling MAME ROMs into idiomatic JavaScript. The process involves multiple stages of translation and testing.
Swiper: The Fast and Efficient Slider Library
Swiper is the most comprehensive touch slider library for modern web. It stands out with its performance and modular structure.