valeo

Experimental bare-bones reactive programming using standard ES syntax

Usage no npm install needed!

<script type="module">
  import valeo from 'https://cdn.skypack.dev/valeo';
</script>

README

ValeĊ alpha

Pronounciation

Experimental bare-bones reactive programming using standard ES syntax.

Goals

The following code should be possible. The take from the code is not that this code is great, but that it becomes conceivable to achieve complete asynchronous serialization with standard ECMAScript syntax.

import {Events} from './valeo/index.mjs';

(async resized => {
  for await (const event of resized) {
    // ... do stuff
  }
})(Events.from(window, 'resize'));