Replies: 1 comment
-
|
Hey, could it be that you meant to post this in https://github.com/gjtorikian/tailwind_merge? This project implements tailwind-merge in TypeScript/JavaScript, not in Ruby. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, so we have been using tailwind-merge across all of our components of our site, we did not notice it at first but over time this utility became a huge performance bottleneck adding multiple seconds to our erb rendering time.
By adding Rails.cache on the classnames we saw performance improvements of 4 to 8 times in page load speed for our pages.
While Rails.cache may not be the best solution for non Rails projects caching in general has a huge impact on performance.
Hope this helps someone :-)
Beta Was this translation helpful? Give feedback.
All reactions