docs: add comprehensive hooks reference (#33) - #76
Open
ulsreall wants to merge 1 commit into
Open
Conversation
Add detailed documentation for all 8 hooks in composer-kit: - useBalance: ERC20 token balance reader - useIdentity: ENS name and avatar resolver - useSocial: Social links from ENS text records - useNFTData: NFT metadata and ownership fetcher - useMintNFT: NFT minting with multi-pattern support - useTransactionHandler: Transaction execution with chain switching - useTransactionLifecycle: Transaction status tracking - useConfig: Wagmi configuration access Each hook includes: import path, parameters, return values, working examples, and implementation notes. Also adds a Hooks section to README.md with a summary table linking to the full reference. Closes celo-org#33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds detailed documentation for all 8 hooks in composer-kit, closing #33.
New file:
Each hook includes:
Updated:
Added a Hooks section with a summary table linking to the full reference.
Why
The hooks are currently undocumented. This makes it hard for developers to discover and use them. The documentation follows the same style as the existing component docs in the README.
Testing