Improve ergonomics for observedAttributes/liveAttributes in Class mode #1
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rusticarcade/palette#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is not bad when using the factory, but when extending the Component class directly, you need to specify names of attributes in two places for reactive behavior to work properly.
The primary issue is avoiding the use of a MutationObserver (slower than observedAttributes) while still having type safety on liveAttributes which is a class property and not a static property so that it can access the class state shape generic.