hooks vs refine

hooks and refine share 3 technologies: React, React Router, and antd. Both are written in TypeScript.

Read it as markdown

What they share and what sets them apart

alibaba

hooks

A high-quality & reliable React Hooks library. https://alibaba.github.io/hooks/

TypeScript15kRead on November 8, 2026, at commit a0c33c2What is hooks built with?

Only in hooks

In common

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
hooks27,385 lines written315 code files
refine584,997 lines written4,342 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
hooks0.1% of its commits signed by AIWith GitHub Copilot
refine0% of its commits signed by AIWith Claude Code
ActivityFrom GitHub and its history, on the day SeeRepo read it.
hooksLast push October 27, 20262,137 commits14,976 stars
refineLast push September 10, 20266,842 commits36,009 stars
TestsThe files that test the code, and the share of code files a test imports.
hooks97 test files27.3% of its code files have a test that imports them
refine895 test files11.5% of its code files have a test that imports them

Frequently asked questions

Which is bigger, hooks or refine?
refine, with 584,997 lines written; hooks has 27,385.

The proof: refinedev/refine's code at commit 2352eb5

Which has more GitHub stars, hooks or refine?
refine, with 36,009 stars; hooks has 14,976.

The proof: refinedev/refine on GitHub

Which has more tests, hooks or refine?
refine, with 895 test files; hooks has 97.

The proof: refinedev/refine's code at commit 2352eb5

Which was updated more recently, hooks or refine?
hooks: its last push was on October 27, 2026, and refine's on September 10, 2026.

The proof: alibaba/hooks's commits on GitHub

Which has more commits signed by AI, hooks or refine?
hooks: an AI signed 0.1% of its commits, with GitHub Copilot.

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.

Or look inside SeeRepo's own →