How to provide size variant based on media query without using javascript? #290
Unanswered
lorcan-codes
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If we want to provide different size variants (sm, md, lg) depending on window size, we have to track window size changes
But this approach requires using client side component and tracking window size. I wonder if there is any way to make this work in server components and without tracking window size
Beta Was this translation helpful? Give feedback.
All reactions