
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
中文 | English
SaltUI 是与钉钉官方合作的 React UI 组件库,致力于为钉钉微应用开发者以及其他 React 开发者提供高效、简洁、实用的组件化解决方案。
$ npm install saltui --save
import { Button } from 'saltui';
ReactDOM.render(<Button />, mountNode);
使用 babel-plugin-import(推荐)。
// .babelrc or babel-loader option
{
"plugins": [
["import", { libraryName: "saltui", camel2DashComponentName: false }]
]
}
配置好后,引用方式不需要改变,即可实现按需加载。
或者,手动引入
import Button from 'saltui/lib/Button';
@import '~saltui/build/salt-ui.css';
本项目基于 MIT 协议 进行开发和发布。
4.13.1 / 2022-08-17
feat
ScrollList
check scrollViewRef before call scrollViewRef.tryEmitScrollEventFAQs
React components for mobile
The npm package saltui receives a total of 104 weekly downloads. As such, saltui popularity was classified as not popular.
We found that saltui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.