mirror of
https://github.com/jaandrle/deka-dom-el
synced 2025-07-29 07:00:16 +02:00
🔤 🐛 ⚡ v0.9.1-alpha (#30)
* :tap: removed on.attributeChanged and static observedAttributes * ⚡ import optimalization * ⚡ scope.signal * 🔤 🐛 * ⚡ 🐛 registerReactivity and types * 🔤 * ⚡ * 🔤 * 🐛 Node in enviroment * ⚡ todos * ⚡ * ⚡ 🔤 * ⚡ lint * ⚡ memo * 🔤 🐛 memo * ⚡ 🔤 todomvc * 🐛 types * 🔤 p08 signal factory * 🔤 ⚡ types * ⚡ 🔤 lint * 🔤 * 🔤 * 🔤 * 🔤 * 📺
This commit is contained in:
15
docs/components/mnemonic/optimization-init.js
Normal file
15
docs/components/mnemonic/optimization-init.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import { el } from "deka-dom-el";
|
||||
import { mnemonicUl } from "../mnemonicUl.html.js";
|
||||
|
||||
export function mnemonic(){
|
||||
return mnemonicUl().append(
|
||||
el("li").append(
|
||||
el("code", "memo.scope(<function>, <argument(s)>)"),
|
||||
" — Scope for memo",
|
||||
),
|
||||
el("li").append(
|
||||
el("code", "memo(<key>, <generator>)"),
|
||||
" — returns value from memo and/or generates it (and caches it)",
|
||||
),
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user