
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@race-ui/components
Advanced tools
react 基础组件库。 具体细节请查看 examples
npm install @race-ui/components --save
import { Button } from '@race-ui/components';
// 全局引入组件库所有样式
import '@race-ui/components/assets/index.css';
import '@race-ui/components/assets/index.css';
手动添加
import '@race-ui/components/esm/button/style/index.css';
webpack plugin 配置(选择按需加载推荐此种方式)
npm install babel-plugin-import@1.13.3 --save-dev
// babel config plugin
[
'import',
{
libraryName: '@race-ui/components',
libraryDirectory: 'esm',
style: true
},
'@race-ui/components'
]
该React Component公共库样式比较简陋,在实际应用中,需要再次封装成项目需要的UI,使用成本比较高。
当前市面上公共库(antd, element-ui等)都是带有完整样式的,但是在实际应用到项目时(除一些开发人员可以随意发挥的项目), 会重置掉几乎所有样式,徒增代码量和维护成本。
FAQs
react component
We found that @race-ui/components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.