Hacker News new | ask | show | jobs
by flohofwoe 2697 days ago
High performance 3D applications (like games) typically recreate the entire rendering command list from scratch each frame instead of manipulating an existing "scene graph".

React feels more like "retained mode rendering engines" which were popular in the 90's and early 2000's.

1 comments

React provides an immediate mode API (virtual DOM, which is recreated from scratch on every render) implemented on top of a retained mode API (the actual DOM which is stateful).

Diffing and piecemeal updates are an implementation detail/optimization.

Diffing results in different behavior if components have internal state.