Search posts, tags, users, and pages
We recently wanted to use tailwindcss to help developers at one of our customers create maintainable and scalable styling. At the same time we were creating web components for a design system. This raises one big issue with tailwind since we were goi...
Patrick Walther
@r3dDoX · Switzerland
Lead Software Architect @ DSI Engineering
I'm interested in all things web!
Markdown supported · ⌘↵ to post
One optimisation we did in the meantime was to pull unsafeCSS out into a baseComponent so it is only ran once. In the solution above unsafeCSS will parse the CSS for every component, which is unnecessary.
unsafeCSS
Patrick Walther
One optimisation we did in the meantime was to pull
unsafeCSSout into a baseComponent so it is only ran once. In the solution above unsafeCSS will parse the CSS for every component, which is unnecessary.