From c604c2b47b9ed1ab5575d4d41b2a35339fcb43c6 Mon Sep 17 00:00:00 2001 From: Joel Drapper Date: Sat, 6 Apr 2024 21:29:51 +0100 Subject: [PATCH] Update README.md Signed-off-by: Joel Drapper --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 508f19e..fcdc1be 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,15 @@ Morphlex

-Morphlex is a tiny (1.6KB [minified/gzipped](https://www.unpkg.com/morphlex)), optimal DOM morphing library written in TypeScript. DOM morphing is the process of transforming one DOM tree to reflect another, while preserving the state of the original tree and making as few changes as possible. +Morphlex is a tiny, optimal DOM morphing library written in TypeScript. DOM morphing is the process of transforming one DOM tree to reflect another, while preserving the state of the original tree and making as few changes as possible. -Morphlex uses ID Sets — a concept pioneered by Idiomorph — to match nodes with deeply nested identified elements. It also maps out _sensitive_ elements to avoid moving them around. +Morphlex uses ID Sets — a concept pioneered by [Idiomorph](https://github.com/bigskysoftware/idiomorph) — to match nodes with deeply nested identified elements. It also maps out _sensitive_ elements to avoid moving them around. ## ID Sets Each element is tagged with the set of IDs it contains, allowing for more optimal matching. -Failing an ID Set match, Morphlex will search for the next best match by tag name. If no element can be found, the reference element will be deeply cloned. +Failing an ID Set match, Morphlex will search for the next best match by tag name. If no element can be found, the reference element will be deeply cloned instead. ## Node sensitivity