Skip to content

Commit

Permalink
docs(readme): squeeze bullet pts
Browse files Browse the repository at this point in the history
  • Loading branch information
aidenybai committed Mar 16, 2022
1 parent 094130c commit 61c4e6d
Showing 1 changed file with 34 additions and 14 deletions.
48 changes: 34 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,39 @@ Million aims to fix this, providing a **library-agnostic** Virtual DOM to serve

## Why Million?

#### Advantages

- 🦁 Built for libraries that **compile**
- 📦 Lightweight bundle size (**<1kb** brotli+min)
-**Fast** runtime operations
- 🛠️ **Composable** using drivers, **sensible** by default

#### Use Cases

- [Efficiently updating nodes](https://millionjs.org/docs/api/basics/render)
- [Creating UI libraries](https://github.com/aidenybai/hacky)
- [Turning MPAs into SPAs](https://millionjs.org/docs/api/extra/router)
- [Use granular HMR updates](https://millionjs.org/docs/tooling/ssg-ssr)
<table>
<tbody>
<tr>
<td>
<img width="500" height="1px">
<h3>Advantages</h3>
</td>
<td>
<img width="500" height="1px">
<h3>Use Cases</h3>
</td>
</tr>
<tr>
<td>

<ul>
<li>🦁 Built for libraries that <strong>compile</strong></li>
<li>📦 Lightweight bundle size (<strong>&lt;1kb</strong> brotli+min)</li>
<li>⚡ <strong>Fast</strong> runtime operations</li>
<li>🛠️ <strong>Composable</strong> using drivers, <strong>sensible</strong> by default</li>
</ul>
</td>
<td>
<ul>
<li><a href="https://millionjs.org/docs/api/basics/render">Efficiently updating nodes</a></li>
<li><a href="https://github.com/aidenybai/hacky">Creating UI libraries</a></li>
<li><a href="https://millionjs.org/docs/api/extra/router">Turning MPAs into SPAs</a></li>
<li><a href="https://millionjs.org/docs/tooling/ssg-ssr">Use granular HMR updates</a></li>
</ul>
</td>
</tr>
</tbody>
</table>

## Installing Million

Expand All @@ -58,7 +78,7 @@ npm install million

## Quick Start

Below is an extremely simple implementation of a Hello World page using Million.
Here is an extremely simple implementation of a Hello World page using Million.

```js
import { _, m, render } from 'million';
Expand Down

0 comments on commit 61c4e6d

Please sign in to comment.