Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

阅读 | CSS in JS #76

Open
tanyafuzhou opened this issue Nov 1, 2017 · 0 comments
Open

阅读 | CSS in JS #76

tanyafuzhou opened this issue Nov 1, 2017 · 0 comments

Comments

@tanyafuzhou
Copy link
Owner

参考文献

Summary

TODO

References

  • 为什么 Decisiv 选择使用 Styled Components: 本文是来自 Decisiv 的工程师分享的他们对于 CSS-in-JS 的看法,以及为何在众多的 CSS-in-JS 框架中选择 Styled Components 的原因。作者首先阐述了自己的看法,CSS-in-JS 并非适用于所有的团队或者所有的场景,然后作者讨论了 React 中常见的样式管理模式以及 CSS-in-JS 的基本概念。接下来作者根据 Decisiv 的业务特殊性以及自身的架构设计分析了为何需要使用 CSS-in-JS,并且讨论了 Styled Components 相较于其他框架的优势:庞大而快速发展的社区、模板字符串以及对于 Sass 的支持、原生的移动端支持等。更多 CSS-in-JS 教程查看这里
  • Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant