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

Not working with React Server Components (RSCs) in Next.js #78

Open
HosseinAgha opened this issue Dec 10, 2023 · 0 comments
Open

Not working with React Server Components (RSCs) in Next.js #78

HosseinAgha opened this issue Dec 10, 2023 · 0 comments

Comments

@HosseinAgha
Copy link
Contributor

HosseinAgha commented Dec 10, 2023

To Reproduce
Steps to reproduce the behavior:

  1. Create a Next.js 14+ application
  2. Create a page with some components under it
  3. Create a normal component and use it in the page
  4. Create a client only component and use it in the page
  5. The package only works with client only components

Expected behavior
Next.js 14+ components are RSCs by default.
It should work with both client components and server components.

Additional context
This looks like a React issue as __debugSource and __debugOwner are always null for RSCs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant