Skip to content

Conversation

@LauraBeatris
Copy link
Member

@LauraBeatris LauraBeatris commented Jan 28, 2026

Description

Resolves ORGS-1262

This PR exports a new hook - useOrganizationCreationDefaults, based on the /v1/me/organization_creation_defaults FAPI endpoint

This allows developers to build custom flows for organization creation while displaying form defaults by fetching it with the useOrganizationCreationDefaults hook

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@LauraBeatris LauraBeatris self-assigned this Jan 28, 2026
@changeset-bot
Copy link

changeset-bot bot commented Jan 28, 2026

🦋 Changeset detected

Latest commit: 9f4038f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 22 packages
Name Type
@clerk/clerk-js Minor
@clerk/nextjs Minor
@clerk/shared Minor
@clerk/clerk-react Minor
@clerk/chrome-extension Patch
@clerk/clerk-expo Patch
@clerk/agent-toolkit Patch
@clerk/astro Patch
@clerk/backend Patch
@clerk/elements Patch
@clerk/expo-passkeys Patch
@clerk/express Patch
@clerk/fastify Patch
@clerk/nuxt Patch
@clerk/react-router Patch
@clerk/remix Patch
@clerk/tanstack-react-start Patch
@clerk/testing Patch
@clerk/themes Patch
@clerk/types Patch
@clerk/vue Patch
@clerk/localizations Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Jan 28, 2026

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

Project Deployment Review Updated (UTC)
clerk-js-sandbox Ready Ready Preview, Comment Jan 28, 2026 4:56pm

Request Review

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 28, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review

Comment @coderabbitai help to get the list of available commands and usage tips.

@LauraBeatris LauraBeatris changed the title feat(react,vue): Export useOrganizationCreationDefaults hook feat(clerk-react,vue): Export useOrganizationCreationDefaults hook Jan 28, 2026
@LauraBeatris LauraBeatris force-pushed the laura/orgs-1263-add-docs-for-useorganizationcreationdefaults-hook branch from 521149d to 77f98a6 Compare January 28, 2026 15:41
@LauraBeatris LauraBeatris changed the title feat(clerk-react,vue): Export useOrganizationCreationDefaults hook feat(clerk-js,clerk-react,shared,nextjs): Export useOrganizationCreationDefaults hook Jan 28, 2026
@LauraBeatris LauraBeatris changed the title feat(clerk-js,clerk-react,shared,nextjs): Export useOrganizationCreationDefaults hook feat(clerk-js,shared): Export useOrganizationCreationDefaults hook Jan 28, 2026
@LauraBeatris LauraBeatris marked this pull request as ready for review January 28, 2026 15:57
@LauraBeatris LauraBeatris requested a review from a team January 28, 2026 15:58
@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 28, 2026

Open in StackBlitz

@clerk/agent-toolkit

npm i https://pkg.pr.new/@clerk/agent-toolkit@7690

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@7690

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@7690

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@7690

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@7690

@clerk/dev-cli

npm i https://pkg.pr.new/@clerk/dev-cli@7690

@clerk/elements

npm i https://pkg.pr.new/@clerk/elements@7690

@clerk/clerk-expo

npm i https://pkg.pr.new/@clerk/clerk-expo@7690

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@7690

@clerk/express

npm i https://pkg.pr.new/@clerk/express@7690

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@7690

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@7690

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@7690

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@7690

@clerk/clerk-react

npm i https://pkg.pr.new/@clerk/clerk-react@7690

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@7690

@clerk/remix

npm i https://pkg.pr.new/@clerk/remix@7690

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@7690

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@7690

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@7690

@clerk/themes

npm i https://pkg.pr.new/@clerk/themes@7690

@clerk/types

npm i https://pkg.pr.new/@clerk/types@7690

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@7690

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@7690

commit: 9f4038f

@LauraBeatris LauraBeatris force-pushed the laura/orgs-1263-add-docs-for-useorganizationcreationdefaults-hook branch from 036d37f to 4b8c996 Compare January 28, 2026 16:50
@github-actions github-actions bot added the remix label Jan 28, 2026
@LauraBeatris LauraBeatris force-pushed the laura/orgs-1263-add-docs-for-useorganizationcreationdefaults-hook branch from 7927d62 to 9f4038f Compare January 28, 2026 16:55
@LauraBeatris LauraBeatris merged commit 64a35f7 into release/core-2 Jan 28, 2026
76 of 77 checks passed
@LauraBeatris LauraBeatris deleted the laura/orgs-1263-add-docs-for-useorganizationcreationdefaults-hook branch January 28, 2026 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants