Closed UpperCod closed 4 years ago
rewrite the tests, which unify the core and element version
allows you to encapsulate the render in a promise associated with a unique process
try{ await node.rendered; }catch(e){ //error }
updates are grouped into a promise
allows to observe asynchrony based on hooke and generators
import {useStateGenerator,delay} from "atomico/use-state-generator"; let [state] = useStateGenerator(function *(){ yield 1; yield delay(1000); return 2; })
update
todo
rewrite the tests, which unify the core and element version
Example code
rendered
allows you to encapsulate the render in a promise associated with a unique process
use-state-generator
allows to observe asynchrony based on hooke and generators