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.
mobx bindings for deku
npm install mobx-deku
import {render, tree} from 'deku';
import element from 'magic-virtual-element';
import {observable} from 'mobx';
import {observer} from 'mobx-deku';
class AppState {
@observable counter = 0;
increaseCounter () {
this.counter += 1;
}
}
const appState = new AppState();
const App = observer({
render ({props}) {
return (
<div class='app'>{props.appState.counter}</div>
<button onClick={onClick}></button>
);
function onClick () {
props.appState.increaseCounter();
}
}
});
render(tree(<App appState={appState} />), document.createElement('div'));
Special thanks to @mattmccray and https://gist.github.com/mattmccray/d8740ea97013c7505a9b
FAQs
mobx bindings for deku
The npm package mobx-deku receives a total of 2 weekly downloads. As such, mobx-deku popularity was classified as not popular.
We found that mobx-deku 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
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.