
Security News
pnpm 11.10 Hardens Registry Authentication to Block Token Redirection
pnpm 11.10 hardens registry auth to block token redirection, tightens pack-app and deploy, and makes the Rust port (v12) installable.
@hc-master/renderer
Advanced tools
基于pixiJS的渲染引擎,处理智能设计项目的渲染数据JSON Schema,以数据驱动的形式渲染图形图像的React渲染组件
从npm获取 @hc-master/renderer
npm install @hc-master/renderer
在你的react项目中引入
import { Renderer } from '@hc-master/renderer'
// resDataJson为智能设计项目数据
function App() {
const [index] = useState(0);
const curData = useMemo(() => resDataJson.jsonData[index], [index]);
return (
<div className='App'>
<Renderer
data={curData}
designWidth={resDataJson.designWidth}
designHeight={resDataJson.designHeight}
/>
</div>
)
}
以下为组件的props详细
需要传入的解析的JSON,从智能设计服务获取
渲染的画布尺寸宽度
渲染的画布尺寸高度
标记当前页码(多页渲染时使用)
渲染组件挂载时的事件监听
渲染组件卸载时的事件监听
渲染组件完成渲染时的事件监听
FAQs
基于pixiJS的渲染引擎,处理智能设计项目的渲染数据JSON Schema,以数据驱动的形式渲染图形图像的React渲染组件
The npm package @hc-master/renderer receives a total of 6 weekly downloads. As such, @hc-master/renderer popularity was classified as not popular.
We found that @hc-master/renderer 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
pnpm 11.10 hardens registry auth to block token redirection, tightens pack-app and deploy, and makes the Rust port (v12) installable.

Security News
/Research
Socket uncovered 17 malicious npm and PyPI packages typosquatting Paysafe, Skrill, and Neteller SDKs to steal developer secrets.

Security News
Node.js is debating whether AI-driven security report volume warrants moving more vulnerability reports into public workflows.