
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
basic-virtual-dom
Advanced tools
Support of following patch types:
PATCH_CREATE
PATCH_REMOVE
PATCH_REORDER
PATCH_PROPS
Seems like it has not so bad memory usage and rendering performance
Simple day countdown example
/** @jsx h */
import {h, patch, diff} from '../../';
var initialDom = (
<div>
<div><h3>Counter</h3></div>
</div>
);
document.getElementById('application')
.appendChild(initialDom.render());
setInterval(function() {
var cd = countDown();
var countDownDom = (
<div>
<div><h3>Day Countdown</h3></div>
<div className="clock">
<strong>{cd.h}</strong> :
<strong>{cd.m}</strong> :
<strong>{cd.s}</strong>
</div>
</div>
);
var diffs = diff(initialDom, countDownDom);
patch(initialDom, diffs);
}, 1000);
MIT (c) Svetlana Linuxenko
FAQs
Basic virtual dom implementation
The npm package basic-virtual-dom receives a total of 4 weekly downloads. As such, basic-virtual-dom popularity was classified as not popular.
We found that basic-virtual-dom 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
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.