Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
H

Hookd-Client

> 编程语言
Open source

A Web App for Hookd

100 stars0 likes3 views
WebsiteGitHub

About

A Web App for Hookd

##Hookd

Hookd.dev is a web app for transforming React Class Components to Functional components utlizing Hooks.

Simply copy the code for your React Class Component into the Code field and hit the "transform" button. Our algorithm will parse through your file, and find relevant use cases for useState, useContext, and useEffect.

Our program will modify the Abstract Syntax Tree accordingly, and generate the code for a transformed component for you to utilize at your convenience!

The useContext logic parses through the AST looking for indicators that Context API functions have been utlized, it then generates useContext cases based upon the values assiciated with those indicators. JSX context.consumer tags will be removed in the next update.

Hookd is also available as a Command Line Interface tool, downloadable from NPM: @reactionaries/hookd-cli https://www.npmjs.com/package/@reactionaries/hookd-cli

In addittion to the CLI, Hookd is also available as a a module, donload from NPM: @reactionaries/hookd https://www.npmjs.com/package/@reactionaries/hookd

Both the module and CLI tool can be viewed on GitHub as well! https://github.com/oslabs-beta/Hookd

Issues· 26 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言