![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@dol-design/rn
Advanced tools
Dolphin提供了兼容了三端的可配置组件库
目前有两种安装方式
npm i @dol-design/rn --save
yarn add @dol-design/rn
import { Button } from '@dol-design/rn';
import Button from '@dol-design/rn/lib/button';
但大多数人更习惯的写法如下:
import { Button } from '@dol-design/rn';
通过 babel-plugin-import 插件,可以将上述代码转化为类似下面的代码:
import Button from '@dol-design/rn/lib/button';
babel配置:
{
plugins: [
['import', {
libraryName: '@dol-design/rn',
}]
]
}
我们在web上使用了 react-native-web
这个库,所以需要针对webpack做下额外的配置
{
alias: {
'react-native$': 'react-native-web',
'react-native-svg': 'react-native-svg-web',
'react-native-linear-gradient': 'react-native-web-linear-gradient'
},
}
FAQs
Unknown package
The npm package @dol-design/rn receives a total of 0 weekly downloads. As such, @dol-design/rn popularity was classified as not popular.
We found that @dol-design/rn demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.