Skip to content

Releases: resonance-cascade/cache-component

v5.2.0

05 Jul 04:22
Compare
Choose a tag to compare
  • Added more lifecycle hooks: _willMount, _didMount, _willUpdate in addition to _didUpdate.

v5.1.0

03 Jul 00:56
Compare
Choose a tag to compare
  • 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

03 Jul 00:03
Compare
Choose a tag to compare
  • Fix proxy leak by resetting proxy node ID after DOM removal is detected.

v5.0.0

02 Jul 21:07
Compare
Choose a tag to compare
  • Update bel to ^5.0.0

v5.0.0-1

17 May 00:53
Compare
Choose a tag to compare
  • 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

06 May 01:21
Compare
Choose a tag to compare
  • 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

22 Apr 22:44
Compare
Choose a tag to compare
  • 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

21 Apr 03:12
Compare
Choose a tag to compare
  • 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

17 Apr 02:33
Compare
Choose a tag to compare
  • initial release