Tailwind dynamic classes
is apostasy the unforgivable sin
av1 supported gpu
The first constraint is about string concatenation. Using Tailwind in dynamic components, such as in React, has one vital rule. It is important to avoid dynamically creating class strings in your templates with string concatenation, otherwise PurgeCSS won't know to preserve those classes. In other words, don't do this:.