Skip to content

Add Appwrite React library docs and launch post#3022

Open
atharvadeosthale wants to merge 7 commits into
mainfrom
react-library
Open

Add Appwrite React library docs and launch post#3022
atharvadeosthale wants to merge 7 commits into
mainfrom
react-library

Conversation

@atharvadeosthale
Copy link
Copy Markdown
Member

Adds the /docs/products/auth/react hub, rewrites the React, Next.js, and TanStack Start quickstarts to use @appwrite.io/react, and ships an announcement post under blog/post/announcing-appwrite-react-library.
Also updates /docs/sdks and adds a "React library" entry to the Auth sidebar.

Adds /docs/products/auth/react hub covering the provider, hooks, server helpers, handler routes, and OAuth flow. Rewrites the React, Next.js, and TanStack Start quickstarts to use @appwrite.io/react. Adds a launch blog post under blog/post/announcing-appwrite-react-library and a new "React library" entry in the Auth sidebar. Updates /docs/sdks to list the package.
@appwrite
Copy link
Copy Markdown

appwrite Bot commented May 25, 2026

Appwrite Website

Project ID: 69d7efb00023389e8d27

Sites (1)
Site Status Logs Preview QR
 website
69d7f2670014e24571ca
Ready Ready View Logs Preview URL QR Code

Website (appwrite/website)

Project ID: 684969cb000a2f6c0a02

Sites (1)
Site Status Logs Preview QR
 website
68496a17000f03d62013
Queued Queued View Logs Preview URL QR Code


Tip

Our Discord community has grown to 24K developers, and counting

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 25, 2026

Greptile Summary

This PR ships the @appwrite.io/react library launch: a new reference doc at /docs/products/auth/react, a blog announcement post, updated React/Next.js/TanStack Start quickstarts that migrate from raw Web SDK calls to the library's hooks, updated prompt.md files for the AI code assistant, a "React library" entry in the Auth sidebar, and a new row on the SDKs page.

  • Docs and blog: All code examples are consistent with the documented API. Previously flagged issues (useAuth() called at module level; await admin.account in the admin-client example) are both corrected in this revision.
  • Quickstarts: Each framework (Vite, Next.js App Router, TanStack Start) follows the correct install → env vars → handler route → provider → hooks pattern, with proper post-mutation router refresh calls.
  • Prompt files: Updated instructions align with the rewritten quickstarts and correctly describe SSR key scopes and file layout.

Confidence Score: 5/5

All changes are documentation and content; no runtime code is modified. Previously flagged bugs in earlier review rounds are resolved in this revision.

Every code example across the blog post, reference docs, and three quickstarts has been reviewed against the documented library API. Previously identified issues are fixed, all SSR patterns are correct, and no new defects were found.

No files require special attention.

Important Files Changed

Filename Overview
src/routes/docs/products/auth/react/+page.markdoc New reference page covering provider, hooks, server helpers, and handler configuration; admin-client example correctly uses admin.users.list().
src/routes/blog/post/announcing-appwrite-react-library/+page.markdoc New announcement blog post; useAuth() is correctly inside function App() and admin-client examples use admin.users.list().
src/routes/docs/quick-starts/nextjs/+page.markdoc Rewrites the Next.js quickstart with SSR session cookies; handler setup, provider hydration, and router.refresh() on mutations are all correct.
src/routes/docs/quick-starts/tanstack-start/+page.markdoc Rewrites the TanStack Start quickstart; adds an info block warning readers to move AppwriteProvider to __root.tsx in multi-route apps.
src/routes/docs/quick-starts/react/+page.markdoc Rewrites the Vite React quickstart with correct AppwriteProvider and useAuth usage.
src/routes/docs/products/auth/+layout.svelte Adds 'React library' nav entry with isNewUntil('30 June 2026') badge; no issues.
src/routes/docs/sdks/+page.markdoc Adds React library 0.1.0 entry before the React Native SDK row; formatting matches existing style.

Reviews (5): Last reviewed commit: "Promote tablesDB over legacy databases i..." | Re-trigger Greptile

Comment thread src/routes/docs/quick-starts/tanstack-start/+page.markdoc
Rewrites the AI quickstart prompts under react/, nextjs/, and tanstack-start/ to use @appwrite.io/react instead of the raw Appwrite Web SDK setup, mirroring the rewritten +page.markdoc files.
- Fix admin client example: call admin.account.list() instead of dereferencing the Account service
- Add multi-route guidance to the TanStack Start quickstart so readers know to move AppwriteProvider into __root.tsx in real apps
- Wrap the blog useAuth() snippet in a function component to satisfy the Rules of Hooks
- Format prompt.md files per prettier
Reflects the new framework helper method that returns the full node-appwrite AdminServer (users, databases, storage, teams, and the rest). Hub keeps the standalone createAdminClient as an alternative.
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