Comments (2)
达不到cssinjs包这个水平,原因是cssinjs包在不支持响应props的设定下可以静态化,进而提升性能。但业务应用中需要使用props来动态响应样式,所以这一点是比不上的原因。
但 antd-style 的整体性能会比裸用emotion react 或者emotion css好。毛估估和 styled 应该差不多。具体还没做性能测试。
from antd-style.
你可以体感对比一下antd-style的文档站点和antd 官网的站点。antd-style的文章站点样式就是自己吃狗粮,antd 官网的是用的emotion
from antd-style.
Related Issues (20)
- 🧐[问题] css方案 不支持变量嵌套? HOT 2
- 🧐[问题] vscode-styled-components 插件对css写法没有提示 HOT 2
- 🐛[BUG] 官网 文档 和 使用案例 的链接是错误的 HOT 1
- 👑 [需求] 支持 container 配置 HOT 7
- 🐛[BUG] StyleProvider的container属性不起作用 HOT 17
- 🧐[问题] 如何在Gatsby内使用ssr HOT 1
- 🐛[BUG] createInstance创建的StyleProvider的props类型不对 HOT 11
- 🧐[问题] appearance 和 themeMode 有什么不同吗? HOT 6
- 👑 [需求] 开放 context ,context 上增加 set 方法 HOT 4
- 🧐[问题] 样式怎么嵌套呢 HOT 1
- 🐛[BUG] useResponsive与createStyles中responsive断点大小不一致 HOT 7
- 🧐[问题] 怎么理解appearance和themeMode这两个属性的区别? HOT 2
- 🐛[BUG] Erroneous type of ThemeProvider HOT 5
- 👑 [需求] 支持vue版 HOT 1
- 🧐[问题]通过ThemeProvider传入customToken,再获取的时有时候为空,请问是什么原因? HOT 1
- 🧐[问题]组件里面通过createInstance创建的customToken和包在最外层的ThemeProvider的customToken可以融合吗? HOT 2
- 🧐[问题]如何覆盖通过antd-style去优雅覆盖antd中message
- 🧐[问题]如何通过antd-style去覆盖antd中message、modal等非根节点插入组件的样式 HOT 2
- 🧐[问题] 迁移过程中 less语法中使用到的 :global 怎么处理 HOT 2
- 🐛[BUG] Vscode报 “ThemeProvider”不能用作 JSX 组件 & 控制台报 Cannot read properties of undefined (reading 'useToken') HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from antd-style.