4 ms·
We've encountered huge performance problems using TypeScript with the styled-components library. Something about how that library is typed results in multi-seco
by stupidcar 6y ago
We've encountered huge performance problems using TypeScript with the styled-components library. Something about how that library is typed results in multi-second delays before the VSCode intellisense updates on any file in our project. It's absolutely agonising.
- renke1 6y agoYeah, I had the same problem, kind of made me switch to Tailwind, actually. The places where I used dynamic rules based on props were replaced with dynamic classes.
- brendanmc6 6y agoYup! Among other type definition problems. The types are very poorly maintained. I’m planning to give Emotion a try as it has the same ‘styled’ api.