TE
科技回声
首页
24小时热榜
最新
最佳
问答
展示
工作
中文
GitHub
Twitter
首页
Stop Styling React Components with JavaScript
8 点
作者
andreapaiola
超过 9 年前
2 条评论
robgibbons
超过 9 年前
The author didn't even mention speed. Dynamically injected styles will always be slower than static stylesheets. Unless you have a very compelling edge case, use JavaScript for what it was intended: functionality.
sehr
超过 9 年前
Styling in js != styling inline