Skip to content

Stellar React hooks reference (when sdk-react ships) #44

Description

@truthixify

Tier: M (2-4 days) Type: writing

Context

SDK wave is shipping @wraith-protocol/sdk-react. Each hook needs a reference page showing signature, parameters, return type, examples, gotchas.

Scope

Write docs/reference/stellar-react-hooks.mdx:

  • Hook-per-section: useStellarStealthKeys, useStellarAnnouncementScan, useStellarSendStealthPayment, useStellarName, useStellarBalance
  • Each: signature, parameters, return type, side effects, example with running JSX, common pitfalls
  • React Strict Mode behavior notes
  • Mobile (React Native) caveats
  • Linked from SDK Stellar page

Acceptance criteria

  • Page committed (gated on sdk-react shipping)
  • One full app example using all hooks
  • Strict Mode notes accurate
  • Linked from SDK + getting-started

Files to start with

  • New: docs/reference/stellar-react-hooks.mdx

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programdocsDocumentationdripsFunded via Drips Networkhelp wantedExtra attention is needed

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions