@web2feel
Posted
Hi,
Congrats on successfully completing the challenge. I also encountered the issue of dynamic tailwind classes not rendering in my React app.
I was using string interpolation to construct the class names and apparently, tailwind won't support this. So I built an object with actual TW class names as its property values. Then I was able to use these object properties to insert dynamic class names for the component.
Marked as helpful
@SparrowHawkEye
Posted
@web2feel great approach there. Thanks a lot man ππβ€οΈβ€οΈ