react-slick
react-slick copied to clipboard
Next.js - issue with responsive (wrong breakpoint for a moment)
In Next.js project when I refresh the page on mobile settings for the largest breakpoint are applied for a while.
Replication here.
Noticed the same problem in example from documentation (Gatsby project).
I'm having the same problem
it happens because it is rendered on clientside, when your page loads it loads default breakpoint first and then it loads the actual breakpoint (useEffect hell)
did you find any solution?
need to implement mobileFirst
setting of slick