logoalt Hacker News

dankobgdyesterday at 11:04 AM1 replyview on HN

you have `observedAttributes` and a callback to react whenever they change. That is basically it.


Replies

desdenovayesterday at 11:30 AM

You can use lit-html to get declarative reactivity, but then it's just basically react again.