Hacker News new | ask | show | jobs
by EugeneOZ 1798 days ago
Why trying to explain “declarative vs imperative” if both examples are totally imperative?

At least vanilla js version doesn't re-render the whole component.