2 ms·
Immediate mode is really the sweet spot for games, I still do most of my experimental UIs using immediate mode on top of canvas for that reason. If you need to
by seanmcdirmid 9y ago
Immediate mode is really the sweet spot for games, I still do most of my experimental UIs using immediate mode on top of canvas for that reason. If you need to write something like a code editor, it is just much easier than fighting the DOM (you can easily do your own caching using images), though you have to roll a lot on your own.
The problem with gaming is that you usually don’t want to use the DOM, and React’s value add is mostly in its DOM handling.