News for hackers. Stuff that matters.
Re:Immediate Mode GUI Programming by rtpg on Tuesday January 16, 2024 @08:02AM (#39012811)
I think react is not as immediate-mode as what you see in many immediate UI libs. In particular the canonical "let buttonPressed = drawButton("OK")", where your button state/press is actually reported back. In React events on your components have to flow back through some strategy.

This is either a nit or a completely fundamental difference that entirely changes the ask.

Immediate mode isn't _just_ about repeating the UI every frame

Re:Immediate Mode GUI Programming by kragen on Tuesday January 16, 2024 @08:13AM (#39012890)
this is a good point