1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2025-07-29 07:00:16 +02:00

🔤 ui/ux

This commit is contained in:
2025-03-05 18:35:09 +01:00
parent 49243b978a
commit 5a6f011823
13 changed files with 16 additions and 46 deletions

View File

@@ -1,6 +1,7 @@
import { T, t } from "./utils/index.js";
export const info= {
title: t`Scopes and Components`,
fullTitle: t`Building Maintainable UIs with Scopes and Components`,
description: t`Organizing UI into reusable, manageable components`,
};
@@ -28,7 +29,6 @@ const references= {
export function page({ pkg, info }){
const page_id= info.id;
return el(simplePage, { info, pkg }).append(
el("h2", t`Building Maintainable UIs with Scopes and Components`),
el("p").append(...T`
For state-less components we can use functions as UI components (see “Elements” page). But in real life,
we may need to handle the component live-cycle and provide JavaScript the way to properly use