From a5aa8249725f6dc0e529949bce3a1f9e79ed8298 Mon Sep 17 00:00:00 2001 From: paldepind Date: Thu, 4 Jun 2015 12:34:37 +0200 Subject: [PATCH] Few additions before the intro --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0c9dd1c..262b8ac 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,9 @@ A virtual DOM library with focus on simplicity, modularity, powerful features and performance. +_Note:_ Snabbdom is mostly done. I'm currently only making minor tweaks. The +documentation however is still quite lagging. + ## Table of contents * [Introduction](#introduction) @@ -11,6 +14,13 @@ and performance. * [Core documentation](#core-documentation) * [Modules documentation](#modules-documentation) +## Why + +Virtual DOM is awesome. It allow us to express our applications view as a +function of its state. But existing solutions where way way too bloated, too +slow, lacked features, had an API biased towards OOP and/or lacked features I +needed. + ## Introduction Snabbdom consists of an extremely simple, performant and extensible core that @@ -151,7 +161,7 @@ it's core it allows you to set CSS properties on elements. h('span', { style: {border: '1px solid #bada55', color: '#c0ffee', fontWeight: 'bold'} }, 'Say my name, and every colour illuminates'); -``` +`````` #### Delayed properties