by EGreg · 7y ago · 0 comments
Angular is diffing the model
React is diffing the view
That’s all. Better to just skip the diffing usually, and grab references to elements and update them when certain events happen. It’s really ok!
lit-html essentially grabs references to elements automatically when parsing a template. You get react-like rendering without any diffing! And does not require build tools.
And there is no waste, either.