Socket
Socket
Sign inDemoInstall

evolui

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

evolui - npm Package Compare versions

Comparing version 1.6.4 to 1.6.5

6

package.json
{
"name": "evolui",
"version": "1.6.4",
"version": "1.6.5",
"description": "Observable powered templates for asynchronous UIs",

@@ -13,2 +13,6 @@ "main": "lib/evolui.js",

},
"repository": {
"url": "https://github.com/gvergnaud/evolui.git",
"type": "git"
},
"author": "Gabriel Vergnaud <github.com/gvergnaud>",

@@ -15,0 +19,0 @@ "license": "MIT",

@@ -8,5 +8,5 @@ # evolui

* **Async** — evolui magically understands `Observables` and `Promises`. Just put them where they need to be displayed and, when they update, your UI will be refreshed for you.
* **Virtual DOM** — evolui has a fast virtualDOM diffing algorithm and do the less work possible by only updating the closest node from the values that changed.
* **Virtual DOM** — evolui has a fast virtual DOM diffing algorithm and do the less work possible by only updating the closest node from the values that changed.
* **Components** — You can build large applications by splitting its complexity inside encapsulated and predictable components.
* **Tiny** — The whole library is only `4kB` gziped.
* **Tiny** — The API surface is very small and the whole library is only `4kB` gziped.

@@ -70,2 +70,23 @@ ## Install

## Simple App
```js
import html, { render } from 'evolui'
import { createState } from 'evolui/extra'
const Counter = () => {
const state = createState({ count: 0 })
return html`
<div>
count: ${state.count}
<button onClick=${() => state.count.set(c => c - 1)}>-</div>
<button onClick=${() => state.count.set(c => c + 1)}>+</div>
</div>
`
}
render(html`<${Counter} />`, document.querySelector('#mount'))
```
## Concept

@@ -72,0 +93,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc