3 ms·
> The author and I don't agree, except that Angular is not suitable for high-performance frontends (like games). Would you really use DOM/virtual DOM template
by aikah 12y ago
> The author and I don't agree, except that Angular is not suitable for high-performance frontends (like games).
Would you really use DOM/virtual DOM templates to make a game? it makes little sense. I dont believe any "MV*" framework is suitable for games,even if the game is DOM based.
In a game,what you want is to make sure that at time T,the screen reflects the state of the game.Since you are manually pooling all states with a timer in order to render the game on screen,there is no need for databinding.
- kuni-toko-tachi 12y agoActually that is the point :) The virtual DOM is equivalent to how you do write games. Declarative to imperative. React took its cues from how games are written. The renderer in react targets the DOM. React is a renderer.