Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
css helper awful performance #1805
I've already summarised my thoughts here.
I've made a codesandbox demo to test
It that really it? Why it's recommended? Am I missing something?
Yes, it's unavoidable @taneba
Simple template literals can't handle interpolated functions, etc in the special way we need for everything to work properly. I've made some refactorings to the helper in v4 as you've noticed, but there is an upper limit to how much we can optimize it.
That being said, you only need to use the