[PR #4470] [MERGED] feat: lynx integration #5399

Closed
opened 2026-03-13 12:21:27 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4470
Author: @himself65
Created: 9/5/2025
Status: Merged
Merged: 9/5/2025
Merged by: @himself65

Base: canaryHead: lynx


📝 Commits (5)

📊 Changes

8 files changed (+445 additions, -1 deletions)

View changed files

📝 docs/components/icons.tsx (+21 -0)
📝 docs/components/sidebar-content.tsx (+5 -0)
docs/content/docs/integrations/lynx.mdx (+212 -0)
📝 packages/better-auth/package.json (+5 -0)
packages/better-auth/src/client/lynx/index.ts (+106 -0)
packages/better-auth/src/client/lynx/lynx-store.ts (+73 -0)
📝 packages/better-auth/src/client/react/react-store.ts (+1 -1)
📝 pnpm-lock.yaml (+22 -0)

📄 Description

Summary by cubic

Add first-class Lynx integration for Better Auth. Provides a Lynx client with reactive hooks and Nanostores-based state for Android, iOS, and Web, plus docs.

  • New Features

    • New client at better-auth/lynx with createAuthClient, $fetch, $store, and full API/plugin support.
    • Auto-generated hooks from plugin atoms (e.g., useSession, useX) using Nanostores and a Lynx-friendly useStore.
    • Lynx-specific useStore with selective key watching and useSyncExternalStore from @lynx-js/react.
    • New docs page with setup, usage, hooks, plugin support, and error handling.
  • Dependencies

    • Added optional peer @lynx-js/react and devDependency; updated lockfile.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/4470 **Author:** [@himself65](https://github.com/himself65) **Created:** 9/5/2025 **Status:** ✅ Merged **Merged:** 9/5/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `lynx` --- ### 📝 Commits (5) - [`664227f`](https://github.com/better-auth/better-auth/commit/664227faf4e09ff72e384b860e72493504afa426) feat: lynx support - [`1cca498`](https://github.com/better-auth/better-auth/commit/1cca498c18a0487ff5b33210ffb3009a03eebf02) feat: lynx support - [`6929b65`](https://github.com/better-auth/better-auth/commit/6929b65a4bdab3688681849da9f32e0ac09de164) docs: section - [`7119a52`](https://github.com/better-auth/better-auth/commit/7119a5257fb8812fe8a4efd3525ae46986109dc6) docs: lynx icon - [`ceaf21f`](https://github.com/better-auth/better-auth/commit/ceaf21f2019cf55bf112bbfc1be6e89ee224cb03) fix: comment ### 📊 Changes **8 files changed** (+445 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/components/icons.tsx` (+21 -0) 📝 `docs/components/sidebar-content.tsx` (+5 -0) ➕ `docs/content/docs/integrations/lynx.mdx` (+212 -0) 📝 `packages/better-auth/package.json` (+5 -0) ➕ `packages/better-auth/src/client/lynx/index.ts` (+106 -0) ➕ `packages/better-auth/src/client/lynx/lynx-store.ts` (+73 -0) 📝 `packages/better-auth/src/client/react/react-store.ts` (+1 -1) 📝 `pnpm-lock.yaml` (+22 -0) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Add first-class Lynx integration for Better Auth. Provides a Lynx client with reactive hooks and Nanostores-based state for Android, iOS, and Web, plus docs. - **New Features** - New client at better-auth/lynx with createAuthClient, $fetch, $store, and full API/plugin support. - Auto-generated hooks from plugin atoms (e.g., useSession, useX) using Nanostores and a Lynx-friendly useStore. - Lynx-specific useStore with selective key watching and useSyncExternalStore from @lynx-js/react. - New docs page with setup, usage, hooks, plugin support, and error handling. - **Dependencies** - Added optional peer @lynx-js/react and devDependency; updated lockfile. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 12:21:27 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#5399