-
Notifications
You must be signed in to change notification settings - Fork 14
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
NextJS obscure 'props' error #24
Comments
We have found a trace in the jwplayer-react file within lib. Within the |
I have created a PR to resolve this. |
@smitser Hi Jorn. Thank you for tracking this down. I have tried both I can see your PR, however it looks like the team has not accepted it yet. I guess we just wait? |
Hey @lukedanielson Is has been merged now but there hasn't been a release yet. We just have to wait a bit longer I guess. |
@smitser The team has merged the fix. You can install the latest commit from the main branch by installing the branch directly:
I have done so and the error no longer appears. |
Hi there. I've setup a simple test page with
"next": "13.4.3"
and"@jwplayer/jwplayer-react": "^1.1.2"
and I am getting a weird 'props' error that I can't seem to trace. Here is mypage.tsx
The player loads and plays successfully, but I can't seem to track down what this 'props' error is in the console:
If I remove the
//@ts-ignore
on line 3, it gives the ts error:Could not find a declaration file for module '@jwplayer/jwplayer-react'.
I believe it is some sort of hydration error specific to NextJS, but it is marked as a client component with the
"use client";
directive, so is only running client side.Any and all help to point me in the right direction would be greatly appreciated! Thanks.
The text was updated successfully, but these errors were encountered: