DEV Community

Discussion on: Styletron: React Component Styles on Steroids

Collapse
 
hadfieldn profile image
Nathan Hadfield

Have you considered making a tag template function that would support the same syntax as styled-components? One of the things I really like about styled-components is that I can use my IDE's support for CSS autocompletion. Also this would make it easy to transition from styled-components to Styletron.

Collapse
 
kayis profile image
K

This isn't my library, I just wrote about it, because I thought it deserves some promotion :D

As far as I can tell (and I may be wrong) the idea of the Object literals is to allow typing via TypeScript or something.

Collapse
 
hadfieldn profile image
Nathan Hadfield

I see. Thanks for a helpful article!