loading delay of module css with nextjs #76752
Unanswered
AnkityadavIITR
asked this question in
Help
Replies: 1 comment
-
Possible Causes & Fixes
Why Tailwind Feels Faster?Tailwind generates optimized atomic classes, reducing unused styles, whereas CSS modules generate unique class names that require additional processing. If performance is a major concern, you could consider moving critical styles to Tailwind and keeping CSS modules for scoped styles. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I was recently working on Nextjs project with ant design components along with module CSS and can't unnoticed the significant time delay in loading the CSS on the production...never faced this issue with tailwind. is there any middleware or config setting which can be used to avoid this particular behaviour
Additional information
No response
Example
https://www.tektoor.com/ this website using module css
Beta Was this translation helpful? Give feedback.
All reactions