Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Destroy method #107

Open
jaschaio opened this issue Nov 27, 2019 · 2 comments
Open

Destroy method #107

jaschaio opened this issue Nov 27, 2019 · 2 comments

Comments

@jaschaio
Copy link

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.

@kazzkiq
Copy link
Owner

kazzkiq commented Nov 27, 2019

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.

@jaschaio
Copy link
Author

Any update? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants