Angular LIVE DOM vs React Virtual DOM... Angular is slightly better I think

Опубликовано: 27 Июль 2026
на канале: CoderDmitri
845
1

NOTE THIS VIDEO IS WRONG: See Ado Dragičević Comment, pinned to the comment section.

if you simply do: setCount(prevCount= prevCount + 1); it works perfectly and DOM updates as it should.

note: = should be ARROW function, just YouTube does NOT allow arrows, so note the code should be with Arrow Function.