--- title: Where is the dynamic style? date: 2023-07-21 author: zombieJ --- As we all know, antd v5 uses CSS-in-JS to support the needs of mixed and dynamic styles. On the contrary, it needs to generate styles at runtime, which will cause some performance loss. Therefore, we developed the `@ant-design/cssinjs` library at the component library level to improve the cache efficiency through certain constraints, so as to achieve the purpose of performance optimization. But we don't stop there. We can skip the stage of generating styles at runtime through some logic. ## Where is the dynamic style? If you have checked the official website of Ant Design, you will find that Ant Design's components do not dynamically insert `