dynamic-properties

An easy way to handle repaint triggering properties in your JS, with value caching & cache invalidation on resize (throttled).

Usage no npm install needed!

<script type="module">
  import dynamicProperties from 'https://cdn.skypack.dev/dynamic-properties';
</script>

README

dynamic-properties

Important: while the 0.x release exported a class, from 1.x on a function is exported. This means new DynamicProperties() has changed to dynamicProperties({}).

An easy way to handle repaint triggering properties in your JS, with value caching & cache invalidation on resize (throttled).

Documentation is still being written. Ask @pieterbeulque.