Skip to content
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

Specific data/props case causes infinite loading #72104

Open
chriseling opened this issue Oct 30, 2024 · 3 comments · May be fixed by facebook/react#32316
Open

Specific data/props case causes infinite loading #72104

chriseling opened this issue Oct 30, 2024 · 3 comments · May be fixed by facebook/react#32316
Labels
bug Issue was opened via the bug report template. React Related to React. Runtime Related to Node.js or Edge Runtime with Next.js. Upstream Related to using Next.js with a third-party dependency. (e.g., React, UI/icon libraries, etc.).

Comments

@chriseling
Copy link

Link to the code that reproduces this issue

https://github.com/chriseling/nextjs-repro-infinite-loading-issue

To Reproduce

  • start the app (yarn dev)
  • notice the page shows the loading.tsx and loads infinitely

Current vs. Expected behavior

expect the client component to load with "hello world"

Provide environment information

Operating System:
  Platform: darwin
  Arch: x64
  Version: Darwin Kernel Version 23.6.0: Mon Jul 29 21:13:00 PDT 2024; root:xnu-10063.141.2~1/RELEASE_X86_64
  Available memory (MB): 40960
  Available CPU cores: 16
Binaries:
  Node: 22.0.0
  npm: 10.5.1
  Yarn: 1.22.22
  pnpm: 9.12.2
Relevant Packages:
  next: 15.0.2 // Latest available version is detected (15.0.2).
  eslint-config-next: 15.0.2
  react: 19.0.0-rc-02c0e824-20241028
  react-dom: 19.0.0-rc-02c0e824-20241028
  typescript: 5.6.3
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)

Runtime

Which stage(s) are affected? (Select all that apply)

next dev (local), Vercel (Deployed)

Additional context

No response

@chriseling chriseling added the bug Issue was opened via the bug report template. label Oct 30, 2024
@github-actions github-actions bot added the Runtime Related to Node.js or Edge Runtime with Next.js. label Oct 30, 2024
@charliemeyer2000
Copy link

This is crazy, how did you come across this?

@alexshyba
Copy link

This is wild indeed, I can reproduce it without the loading component as well.

@chris-orgorg
Copy link

This is crazy, how did you come across this?

I don't remember, but I came across it while trying to build something.

@ztanner ztanner added React Related to React. Upstream Related to using Next.js with a third-party dependency. (e.g., React, UI/icon libraries, etc.). labels Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue was opened via the bug report template. React Related to React. Runtime Related to Node.js or Edge Runtime with Next.js. Upstream Related to using Next.js with a third-party dependency. (e.g., React, UI/icon libraries, etc.).
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants
@alexshyba @ztanner @chriseling @charliemeyer2000 @chris-orgorg and others