CodeFlask icon indicating copy to clipboard operation
CodeFlask copied to clipboard

Destroy method

Open jaschaio opened this issue 4 years ago • 2 comments

It looks like Codeflask is missing a Destroy method that removes Event Listeners, eventual created DOM Elements and enables us to use codeflask with reactive frameworks. The simple idea is that each CodeFlask instance should be destroyed whenever the parent component gets unmounted.

jaschaio avatar Nov 27 '19 10:11 jaschaio

That makes sense. Since many (if not most) new front-end projects use some king of reactive framework, it would be useful to have a method like that.

kazzkiq avatar Nov 27 '19 15:11 kazzkiq

Any update? :)

jaschaio avatar May 27 '21 09:05 jaschaio