Bloomca / veles

UI library with main focus on performance
https://bloomca.github.io/veles/
MIT License
40 stars 0 forks source link

allow to attach/remove listeners in `useAttribute` #47

Closed Bloomca closed 3 weeks ago

Bloomca commented 4 weeks ago

Description

Right now useAttribute uses element.setAttribute underneath.

This has 2 problems:

Solution

The logic should be pretty similar to assign-attributes.ts file, at least for the new event listeners.