From 8b67abf32f9defaafeec95ce251d832b9fdaead2 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Thu, 1 Aug 2024 14:57:13 +0200 Subject: [PATCH] Update readme --- readme.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 8bdea5d..6685c7a 100644 --- a/readme.md +++ b/readme.md @@ -4,9 +4,14 @@ A functional-friendly helper library for procedural DOM generation and templating. ```js -import {html} from "skooma.js" +import {html} from "skooma/state.js" ``` +## Warning + +**This branch is in the process of being aggressively refactored and improved. +This readme file may not reflect the latest state of the interface.** + ## Overview ```js @@ -22,7 +27,7 @@ document.body.append(html.div( ## Interface / Examples -### Basic DOM generation +### Basic DOM generatio Accessing the `html` proxy with any string key returns a new node generator function: @@ -89,7 +94,7 @@ text`Hello, ${html.b(user)}!` ## handle ```js -import {handle} from 'skooma.js' +import {handle} from 'skooma/state.js' ``` Since it is common for event handlers to call `preventDefault()`, skooma