
Product
Reachability for Ruby Now in Beta
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.
@bity/preact-base-components
Advanced tools
A collection of basic user interface components written in preact.
A collection of basic user interface components written in preact.
See src/ for all the components and to learn how they work.
They are provided as ES2015 modules, and have already been transpiled once from JSX to regular ES2015+.
You will probably want to use these in combination with
@bity/preact-conversion-components, @bity/preact-exchange-client, and
@bity/styles.
npm install @bity/preact-base-components @bity/styles
First write your preact code as you normally would as ES2015+:
import { h, render } from 'preact';
import { Pulse } from '@bity/preact-base-components/pulse';
render(h(Pulse, {}, null), document.getElementById('root'));
Save the file and run your favorite bundler/transpiler combination, and then:
<head>
<!-- First include the default styling for the components. -->
<link rel="stylesheet" type="text/css" href="node_modules/@bity/styles/index.css"/>
</head>
<body>
<!-- Define a mount point: -->
<div id="root"></div>
<!-- Then include the bundle use. -->
<script src="bundle.js"></script>
</body>
FAQs
A collection of basic user interface components written in preact.
We found that @bity/preact-base-components 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.

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.

Research
/Security News
Malicious npm packages use Adspect cloaking and fake CAPTCHAs to fingerprint visitors and redirect victims to crypto-themed scam sites.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.