@benev/slate
Advanced tools
Changelog
v0.2.0
light_view
is now lightView
light_component
is now lightComponent
shadow_view
is now shadowView
shadow_component
is now shadowComponent
use.defer
Signal
prep_op_effect
replaced by makeLoadingEffect
or makeAnimatedLoadingEffect
loading
effects like loading.binary(op, onReady)
and loading.braille(op, onReady)
@benev/slate/x/pure.js
pure.js
was an alternative entrypoint for node to import the parts of slate that didn't touch any DOM apisimport "@benev/slate/x/node.js"
global.HTMLElement = class {}
because extending HTMLElement is the only contact that slate has with the dom at import timenode.js
is a little shim that lets you import all of slate in node (maybe for unit testing or to use some tools)interval
tool: changed arguments
interval.hz
accepts hertz, replacing what used to be called interval
interval(1, fn)
with interval.hz(1, fn)
signal.subscribe
in favor of signal.on
Trashcan
(in favor of Trashbin
)pub
(in favor of pubsub
)use.load
helper for creating an op and immediately initiating a load operationwherefor
ref
and Ref
Changelog
v0.1.2
watch.wait
promise, because watch tower dispatches are now debounced