can't do that easily without the addition of a lot of code to support that particular approach?
Like, React doesn't read from DOM but instead keeps its own in-memory DOM structure which it updates for changes and React writes to the DOM when it has to. Plain JS would naturally both read and write to DOM for UI changes.
Обсуждают сегодня