You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gives an error:
app-index.js:32 Warning: Prop width did not match. Server: "Infinity" Client: "1290"
This is probably due to app router running the code on server side even with "use client" specified.
Steps to reproduce it and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have extra dependencies other than react-use. Paste the link to your JSFiddle or CodeSandbox example below:
What is the current behavior?
Gives an error:
app-index.js:32 Warning: Prop
width
did not match. Server: "Infinity" Client: "1290"This is probably due to app router running the code on server side even with "use client" specified.
Steps to reproduce it and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have extra dependencies other than
react-use
. Paste the link to your JSFiddle or CodeSandbox example below:What is the expected behavior?
Gives the browser's window sizes
A little about versions:
react-use
: 17.4.2The text was updated successfully, but these errors were encountered: