Skip to content

chore(docs): clarify install — one package for React apps#50

Merged
Signor1 merged 1 commit into
mainfrom
chore/install-guidance
May 30, 2026
Merged

chore(docs): clarify install — one package for React apps#50
Signor1 merged 1 commit into
mainfrom
chore/install-guidance

Conversation

@Signor1
Copy link
Copy Markdown
Owner

@Signor1 Signor1 commented May 30, 2026

The landing CTA and the docs install page used to suggest installing
both @usewhisk/react and @usewhisk/core, which is misleading: core is
a regular dependency of react and is pulled in automatically, and
every type and helper is re-exported, so React apps never need to
install or import @usewhisk/core directly.

  • Landing CTA install snippet drops to a single package.
  • Docs install page is rewritten as a decision tree: lead with the one command, call out @tanstack/react-query as the one required peer, gate Solana adapters as optional, and reserve @usewhisk/core for the framework-agnostic case (Node, Vue/Svelte, server-side).
  • Type-safe bento snippet imports from @usewhisk/react so it matches the new guidance.

  The landing CTA and the docs install page used to suggest installing
  both @usewhisk/react and @usewhisk/core, which is misleading: core is
  a regular dependency of react and is pulled in automatically, and
  every type and helper is re-exported, so React apps never need to
  install or import @usewhisk/core directly.

  - Landing CTA install snippet drops to a single package.
  - Docs install page is rewritten as a decision tree: lead with the
    one command, call out @tanstack/react-query as the one required
    peer, gate Solana adapters as optional, and reserve @usewhisk/core
    for the framework-agnostic case (Node, Vue/Svelte, server-side).
  - Type-safe bento snippet imports  from @usewhisk/react so it
    matches the new guidance.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
whisk Ready Ready Preview, Comment May 30, 2026 12:19pm
whisk-donate-button Ready Ready Preview, Comment May 30, 2026 12:19pm
whisk-ecommerce-checkout Ready Ready Preview, Comment May 30, 2026 12:19pm
whisk-invoice-link Ready Ready Preview, Comment May 30, 2026 12:19pm
whisk-payroll-batch Ready Ready Preview, Comment May 30, 2026 12:19pm
whisk-playground Ready Ready Preview, Comment May 30, 2026 12:19pm
whisk-themed-saas Ready Ready Preview, Comment May 30, 2026 12:19pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant