#文章 防止XSS攻击,探讨 styled-components 动态样式注入的安全防范。检验值类型或者使用枚举限制。

https://andrei-calazans.com/posts/styled-components-xss-danger/#main The XSS dangers in interpolating styled-components