4 ms·
> There’s no hope of understanding the DOM with React, no hope of understanding styles with styled-components. There’s no hope of placing a breakpoint in your c
by ghego1 7y ago
> There’s no hope of understanding the DOM with React, no hope of understanding styles with styled-components. There’s no hope of placing a breakpoint in your code and tracing forward through events. No hope of understanding stack traces.
Agree. IMHO the fact that React uses the virtual DOM is one of its biggest inconveniences.
> In the long run it leaves an opportunity for a new generation of tools that respect JavaScript and the DOM.
Angular (v. >= 2.x.x) on this is much simpler to understand as it manipulates the DOM directly. With the built-in dev tools of any browser you pretty much can inspect any portion of HTML, CSS and source code.