-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
There are potential performance issues with importing sprinkles in lots of Looking at your code, I would suggest separating your I will stress, you likely won't run into any noticeable performance issues using sprinkles. If you do, then you've probably over-invested into sprinkles and should consider leaning into build-time classes more. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
To put it simply: anything inside a
.css.ts
file will occur only at build time.sprinkles
can be run both at build time and at run time, it just depends what file you use it in. If you usesprinkles
at run time, it's just doing a lookup of the classname, it's not re-creating the entire sprinkles definition.