Not working with React Server Components (RSCs) in Next.js
HosseinAgha opened this issue · comments
To Reproduce
Steps to reproduce the behavior:
- Create a Next.js 14+ application
- Create a page with some components under it
- Create a normal component and use it in the page
- Create a client only component and use it in the page
- 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.