|
|
|
|
|
by jameshart
1957 days ago
|
|
What if you have your ‘immediate mode’ produce not a direct rendering of the GUI, but a virtual object model describing what the structure of the GUI should be at that moment? Then you diff that object model against the actual object model of the GUI and apply the changes.... That’s how react works. It’s effectively an ‘immediate mode’ abstraction above a component based UI. That avoids the component connecting and wiring problems, and creates the simple determinism that makes immediate mode systems easier to reason about. |
|