Does EmberJS also use Virtual DOM?

Start a personal dev blog on your domain for free and grow your readership.

3.4K+ developers have started their personal blogs on Hashnode in the last one month.

Write in Markdown 路 Publish articles on custom domain 路 Gain readership on day zero 路 Automatic GitHub backup and more

Comments (1)

Kleo Petrov's photo

EmberJS uses a rendering engine called Glimmer. It's an attempt from Ember's developers to recreate React Virtual DOM without any break changes.

Glimmer differentiates between static and dynamic components, thus reducing the number of elements that need to be checked when looking for changes. This differentiation can be achieved thanks to the expressiveness of Handlebar's templates.

Another difference between Glimmer and the other implementations is how Glimmer stores and compares nodes. Glimmer stores the nodes in simple stream-like objects. To find whether a node needs updating, Glimmer checks the latest version of the object node with the real DOM node value. If the value has no changes, no further actions are taken.


If you want to find more information about Glimmer: