resclient icon indicating copy to clipboard operation
resclient copied to clipboard

Upgrading from 2.3.3 to 2.5.0 induces error "Handler not found"

Open niklasjoh opened this issue 4 months ago • 0 comments

As stated in title, we upgraded from 2.3.3 to 2.5.0 package of resclient. Now we notice a lot of errors where we try to .off() on listeners, there are "no handlers".

    unsubscribe() {
      if (this.sub?.off != null) {
        this.sub.off();
      }
    }

Where unsubscribe is called from beforeUnmount-hook in a vue component. Generating errors in console image

niklasjoh avatar Oct 24 '24 06:10 niklasjoh