DEV Community

Cover image for DOM is slow ? Really ?
artydev
artydev

Posted on

DOM is slow ? Really ?

Look at this demo from 2012 : DemoSprites

Writing complex games with DOM is not what I would recommend. But a question arises, why didn't we have capitalized on the DOM performances ? At least now that browsers are very optimised at rendering stuff ?.

Here is the response from GEMINI :

The question isn't whether the VDOM is "bad," but rather whether it's still the optimal or sole approach for achieving high-performance, declarative UIs in the modern web development landscape. The answer increasingly seems to be no, there are now equally, if not more, efficient alternatives. This pushes the boundaries of what can be done with HTML and CSS alone.

This opens the door for JurisJS :-)

Here is a DOM based game in Juris Game Of Life:

Image description

Top comments (0)