Kamod Hooks – a Preact hooks library ported from ahooks

Tiny app fans are cheering this huge hook drop, while skeptics ask if Preact needed a clone war

TLDR: Kamod Hooks brings a big set of ready-made building blocks to Preact, a smaller rival to React, with lots of demos and almost no extra baggage. Fans are excited by the polish and convenience, while skeptics side-eye the “ported from ahooks” angle and ask whether this is clever reuse or clone culture.

A new library called Kamod Hooks has landed with a very clear pitch: give people using Preact — a smaller alternative to React, the popular website-building tool — a giant box of ready-made shortcuts so they can build faster. The creator says it’s inspired by and ported from ahooks, and the sales pitch is almost aggressively tidy: 78 documented hooks, 81 live demos, and zero runtime dependencies in core. In plain English, that means lots of prebuilt helpers, lots of examples, and less extra baggage.

But the real popcorn moment is the community mood. Supporters are treating it like a gift basket for Preact fans who are tired of piecing together tiny utilities by hand. The biggest applause is for how complete it feels: not just code, but docs, demos, typed signatures, and copy-paste-friendly examples. That kind of polish tends to win people over fast.

The hot take bubbling underneath, though, is classic developer drama: is this a smart, practical port, or just another clone in open-source cosplay? Some people love that it brings proven ideas into a lighter ecosystem; others always get twitchy when a project’s identity starts with “inspired by” another one. Even with limited comments shown, the tone from the launch post screams a familiar internet split: one camp saying, “Finally, this should have existed already,” and the other side squinting at it like, “Cool… but why not just use the original bigger tool?”

And yes, there’s a little comedy in the numbers flex too. Zero deps is the kind of line that makes minimalist coders clap like it’s a mic drop, while everyone else wonders if they’re supposed to be impressed or just emotionally prepared for a package diet plan.

Key Points

  • Kamod Hooks is presented as a lightweight, production-ready hooks library built specifically for Preact.
  • The project advertises 78 documented hooks, 81 live demos, and zero runtime dependencies in its core package.
  • The documentation emphasizes a workflow of reading setup guides, testing live examples, and copying exact API signatures and source snippets.
  • The library is described as Preact-first, typed by default, and tree-shakeable, with support for main-package and per-hook imports.
  • The docs cover browser-native capabilities such as storage, observers, fullscreen, WebSocket, and URL state, alongside utility references like `clearCache`, `configResponsive`, and `createUpdateEffect`.

Hottest takes

"inspired by and ported from ahooks" — zahir777
"keeping the package lightweight and Preact-native" — zahir777
"a broad set of practical React-style hooks" — zahir777
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.