-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
useUser(), <SignInButton> component, and useClerk() are inconsistent #1673
Comments
Hello @leo-paz Could u provide us with a repo or something like a CodeSandbox ? The above code seems to work as expected when I moved it to an existing project. Also about issue with |
@panteliselef Thanks for the prompt reply. So I tried branching off the clerk-next-app-router-starter project after I tried copying over how the built in components were used in
my |
@panteliselef i found a related thread and have attached a link in this comment that reproduces the issue: clerk/clerk-next-app-router-starter#2 (comment) |
I have the same issue. The useUser hook is inconsistent. |
Hello 👋 We currently close issues after 40 days of inactivity. It's been 30 days since the last update here. If we missed this issue, please reply here. Otherwise, we'll close this issue in 10 days. As a friendly reminder: The best way to see an issue fixed is to open a pull request. If you're not sure how to do that, please check out our contributing guide. Thanks for being a part of the Clerk community! 🙏 |
I also had this problem with my next 13 setup. This issue saved us from migrating off of Clerk. Thank you @leo-paz |
Hello 👋 We currently close issues after 40 days of inactivity. It's been 30 days since the last update here. If we missed this issue, please reply here. Otherwise, we'll close this issue in 10 days. As a friendly reminder: The best way to see an issue fixed is to open a pull request. If you're not sure how to do that, please check out our contributing guide. Thanks for being a part of the Clerk community! 🙏 |
Inactive for 40+ days, reproduction not provided, closing this one. Please feel free to open a new issue if anyone else runs into similar issues! |
Brief Summary of the Issue
useUser().isSignedIn
returns false yetuseClerk().user
has the correct user details. I also have had so much trouble using and i'm assuming this is related. I get a next hydration error every time I try to use the built in component.Minimal Reproduction or Replay
Browser/OS
_If applicable e.g.
Chromium 115.0.5790.114
,Node 18.10.0
Package + Version
@clerk/clerk-js
@clerk/clerk-react
@clerk/nextjs 4.23.3
@clerk/remix
@clerk/types
@clerk/themes 1.7.5
@clerk/localizations
@clerk/clerk-expo
@clerk/backend
@clerk/clerk-sdk-node
@clerk/shared
@clerk/fastify
@clerk/chrome-extension
gatsby-plugin-clerk
build/tooling/chore
The text was updated successfully, but these errors were encountered: