Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Single-file components for React. Parent comment
styled-components [1] is prob the most popular example.
Your complaint they are evaluating JS just to set styles is valid, tho some libs, like emotion [2] support static CSS extraction.
[1] https://www.styled-components.com/docs/api#supported-css [2] https://github.com/emotion-js/emotion
There are no comments on this comment yet.
styled-components [1] is prob the most popular example.
Your complaint they are evaluating JS just to set styles is valid, tho some libs, like emotion [2] support static CSS extraction.
[1] https://www.styled-components.com/docs/api#supported-css [2] https://github.com/emotion-js/emotion