clerk / javascript

Official JavaScript repository for Clerk authentication
https://clerk.com
MIT License
1.18k stars 267 forks source link

[@clerk/clerk-react]: `ClerkProvider` component will display blank page randomly #4651

Open eryue0220 opened 4 days ago

eryue0220 commented 4 days ago

Preliminary Checks

Reproduction

https://app.replay.io/recording/localhost4000--5cea1e34-130d-4d23-9332-fb04c21a699e

Publishable key

pk_test_ZW5nYWdpbmctYmVhci0zNC5jbGVyay5hY2NvdW50cy5kZXYk

Description

Steps to reproduce:

  1. Login through @clerk/nextjs
  2. visit web app and will display content randomly

Expected behavior:

  1. display meaning content

Actual behavior:

  1. Display blank page

Other Info:

  1. After debugging deeply, I found this line didn't trigger, when the content displayed blank
  2. Check the video from 01:00

Environment

System:
  OS: macOS 15.1
  CPU: (10) arm64 Apple M1 Max
Binaries:
  Node: 20.14.0 - ~/.nvm/versions/node/v20.14.0/bin/node
  pnpm: 9.12.2 - ~/.nvm/versions/node/v20.14.0/bin/pnpm
Browsers:
  Chrome Canary: 133.0.6858.0
npmPacakges:
  @clerk/nextjs: ^6.0.2,
  @clerk/themes: ^2.1.37,
  next(Page Router): 15.0.2
eryue0220 commented 1 day ago

Here is the reproduction: https://github.com/eryue0220/clerk-render-bug