-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Dan Stocker edited this page Mar 22, 2019
·
3 revisions
Ninety is an MVVM-flavor web application framework built as a function graph.
The name "ninety" comes from the fact that Ninety looks at the app 'from the side', focusing on data flow, and avoiding HTML and CSS altogether.
First, get the npm package:
npm i ninety
Then render a text directly to the DOM:
import {createDomDiffApplier} from "ninety";
const renderer = createDomDiffApplier();
renderer.i.d_diff({
del: {},
set: {
"body.childNodes.0:span.innerText": "Hello World!"
}
});