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

Warning: LiveProvider: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead. #378

Open
stivenm16 opened this issue Jan 18, 2024 · 2 comments

Comments

@stivenm16
Copy link

Minimal set up following docs using Next.js 14:

image

It's working properly but it's displaiyng this error:

image

By now I can hide the warning using this:
image

any solution?

@moshie
Copy link
Contributor

moshie commented Jan 28, 2024

#339

Looks like there is a PR but it's not merged yet

@carbonrobot
Copy link
Contributor

We removed all defaultProps a couple versions ago, but it could be coming from a dependency. Which version are you using our react-live?

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

3 participants