From ca8264c4b9d80d516465c09706d5709f62da524e Mon Sep 17 00:00:00 2001 From: Ayo Date: Fri, 22 Sep 2023 10:26:26 +0200 Subject: [PATCH] chore: update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index db12ba4..ff232f8 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ The result is a reactive UI that updates on attribute changes: This mental model attempts to reduce the cognitive complexity of authoring components: -1. The `template` is a read-only property (initialized with a `get` keyword) that represents *how* the component view is rendered. This makes the template close to modification. +1. The `template` is a read-only property (initialized with a `get` keyword) that represents *how* the component view is rendered. 1. There is a `render()` method that triggers a view render. 1. This `render()` method is *automatically* called under the hood every time an attribute value changed. 1. You can *optionally* call this `render()` method at any point to trigger a render if you need. @@ -189,4 +189,4 @@ class ClickableText extends WebComponent { return `Click me!`; } } -``` \ No newline at end of file +```