[PR #7321] [MERGED] docs: update client to authClient in Svelte and Solid examples for consistency #15473

Closed
opened 2026-04-13 10:02:54 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7321
Author: @Bekacru
Created: 1/13/2026
Status: Merged
Merged: 1/13/2026
Merged by: @Bekacru

Base: canaryHead: claude/slack-find-client-references-codebase-H9VaT


📝 Commits (1)

  • fa6b565 docs: update client to authClient in Svelte and Solid examples for consistency

📊 Changes

1 file changed (+4 additions, -4 deletions)

View changed files

📝 docs/content/docs/concepts/client.mdx (+4 -4)

📄 Description

Updated the Svelte and Solid useSession hook examples in client.mdx to use authClient naming convention instead of client, matching the pattern used in other framework examples.


Summary by cubic

Updated Svelte and Solid docs examples to use authClient.useSession instead of client.useSession for consistency across frameworks. This aligns naming with the authClient convention and avoids confusion when copying code.

Written for commit fa6b56514e. Summary will update on new commits.


🔄 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/7321 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 1/13/2026 **Status:** ✅ Merged **Merged:** 1/13/2026 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `claude/slack-find-client-references-codebase-H9VaT` --- ### 📝 Commits (1) - [`fa6b565`](https://github.com/better-auth/better-auth/commit/fa6b56514e087697895d7cd932a7592831fdbea1) docs: update client to authClient in Svelte and Solid examples for consistency ### 📊 Changes **1 file changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/concepts/client.mdx` (+4 -4) </details> ### 📄 Description Updated the Svelte and Solid useSession hook examples in client.mdx to use authClient naming convention instead of client, matching the pattern used in other framework examples. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Updated Svelte and Solid docs examples to use authClient.useSession instead of client.useSession for consistency across frameworks. This aligns naming with the authClient convention and avoids confusion when copying code. <sup>Written for commit fa6b56514e087697895d7cd932a7592831fdbea1. Summary will update on new commits.</sup> <!-- 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-04-13 10:02:54 -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#15473