[PR #3246] [MERGED] fix: react dual reference #12966

Closed
opened 2026-04-13 08:40:57 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3246
Author: @Kinfe123
Created: 7/2/2025
Status: Merged
Merged: 7/2/2025
Merged by: @Bekacru

Base: mainHead: fix/react-dual-prob


📝 Commits (2)

📊 Changes

3 files changed (+20 additions, -4 deletions)

View changed files

📝 packages/better-auth/package.json (+13 -0)
📝 pnpm-lock.yaml (+3 -0)
📝 pnpm-workspace.yaml (+4 -4)

📄 Description

Declaring react as a peerDependency with peerDependenciesMeta.optional avoids bundling it and prevents dual React issues and referenced on mutliple instances.


🔄 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/3246 **Author:** [@Kinfe123](https://github.com/Kinfe123) **Created:** 7/2/2025 **Status:** ✅ Merged **Merged:** 7/2/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/react-dual-prob` --- ### 📝 Commits (2) - [`83d5adf`](https://github.com/better-auth/better-auth/commit/83d5adffb0c232eabeb072f8d31a1ec7735c5874) react-dual - [`86be826`](https://github.com/better-auth/better-auth/commit/86be8263c42cc230c0162349bf29ed53330d7e07) chore: update react types ### 📊 Changes **3 files changed** (+20 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/package.json` (+13 -0) 📝 `pnpm-lock.yaml` (+3 -0) 📝 `pnpm-workspace.yaml` (+4 -4) </details> ### 📄 Description Declaring react as a peerDependency with peerDependenciesMeta.optional avoids bundling it and prevents dual React issues and referenced on mutliple instances. --- <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 08:40:57 -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#12966