Uh oh!
There was an error while loading. Please reload this page.
chore(vue,clerk-react): Update useSession to handle pending session as signed-out - #5525
Conversation
🦋 Changeset detectedLatest commit: 72bb2be The changes in this PR will be included in the next version bump. This PR includes changesets to release 10 packages
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 |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
46462ad to
bf0c85bCompare| useAssertWrappedByClerkProvider('useSession'); | ||
| const session = useSessionContext(); | ||
| const optionsContext = useOptionsContext(); |
There was a problem hiding this comment.
I don't think we use OptionsProvider anywhere except clerk-js ui
There was a problem hiding this comment.
My bad! I haven't tested this one against ClerkProvider - Fixed here - I think should be fine to use __internal_getOption again
useSession to handle pending session as signed-out useSession to handle pending session as signed-out
wobsoriano
left a comment
There was a problem hiding this comment.
This looks good as well, thank you 🫡
f069ba7 to
6ce7f24CompareI'll rebase this one again after merging the lower branch! Sorry for the temporary messy diff. |
d44cf5f to
2950332Compare6ea3516 to
3549107Compare3549107 to
7e5c901Compare99f56e4 to
72bb2beCompare
Description
Part of ORGS-621
Allows to pass
treatPendingAsSignedOutas an option touseSession- refer to the following behavior when a session has a pending status:Globally changing the default:
Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change