Skip to content

Releases: resonance-cascade/cache-component

v5.2.0

Choose a tag to compare

@bcomnes bcomnes released this 05 Jul 04:22
  • Added more lifecycle hooks: _willMount, _didMount, _willUpdate in addition to _didUpdate.

v5.1.0

Choose a tag to compare

@bcomnes bcomnes released this 03 Jul 00:56
  • Update nanomorph to ^5.1.2. This adds the new child-reordering algorithm so we get a minor version bump. Keep an eye out for weird ness and report broken corner cases 🙏

v5.0.1

Choose a tag to compare

@bcomnes bcomnes released this 03 Jul 00:03
  • Fix proxy leak by resetting proxy node ID after DOM removal is detected.

v5.0.0

Choose a tag to compare

@bcomnes bcomnes released this 02 Jul 21:07
  • Update bel to ^5.0.0

v5.0.0-1

Choose a tag to compare

@bcomnes bcomnes released this 17 May 00:53
  • Beta release! Please let me know if there is anything wrong with this!
  • Remove on-load and use a new dom ID based dom tracking system. Requires ES5 support for getters.
  • Remove _load and _unload methods. You have to wrap instances of cache-component with on-load on your own now.
  • Add _didUpdate hook so you can call dom methods after the component updates. Handy for updating a scroll position.

v4.0.2

Choose a tag to compare

@bcomnes bcomnes released this 06 May 01:21
  • Run _unload before we clear internal references, alowing you to clean up event listeners on this._element and anything else you want to do.

v4.0.1

Choose a tag to compare

@bcomnes bcomnes released this 22 Apr 22:44
  • Fix instance clobbering bug. This bug showed up when you had two instances of the same component morphing over each other. This would cause the real DOM reference to get lost between the internal _element references of the two instances. The work around was the introduction of ccId which is a unique ID to prevent this.

v4.0.0

Choose a tag to compare

@bcomnes bcomnes released this 21 Apr 03:12
  • use on-load to invalidate this._element. Fixes component rendering when they get completely removed from the DOM.
  • added _load and _unload methods to allow you to run code when the dom is mounted and unmounted.
  • handle morphing internally, and ALWAYSE return a proxy node. There is no other way.

v3.0.0

Choose a tag to compare

@bcomnes bcomnes released this 17 Apr 02:33
  • initial release