1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2025-07-01 04:12:14 +02:00

docs + readme

This commit is contained in:
2023-11-07 21:58:48 +01:00
parent 3866b29436
commit caa4cd84ed
17 changed files with 106 additions and 461 deletions

View File

@ -19,23 +19,6 @@ export function page({ pkg, info, path_target, pages, registerClientFile }){
el(header, { info, pkg, path_target, pages }),
el("main").append(
el("p", "The library tries to provide pure JavaScript tool(s) to create reactive interfaces. "),
el("p", "The main goals are:"),
el("ul").append(
el("li", "provide a small wrappers/utilities around the native JavaScript DOM"),
el("li", "keep library size around 10kB at maximum (if possible)"),
el("li", "zero dependencies (if possible)"),
el("li", "prefer a declarative/functional approach"),
el("li", "unopinionated (allow alternative methods)"),
),
el("p", { className: "note" }).append(
"It is, in fact, an reimplementation of ",
el("a", {
href: "https://github.com/jaandrle/dollar_dom_component",
title: "GitHub repository of library. Motto: Functional DOM components without JSX and virtual DOM.",
textContent: "jaandrle/dollar_dom_component"
}),
".",
),
el(example, { src: new URL("./components/examples/helloWorld.js", import.meta.url), page_id, registerClientFile }),
)
);