My Works & learnings

Replace Node & DIJIT Destroy

October 29, 2019

Replace NODE JavaScript

Today I came across this API during the code review domNode.replaceChild(newNode,oldNode);

This API seemed interesting to detach and attach the dom nodes at a certain position.

DIJIT Destroy

DIJIT is DOJO Widget system to develop widgets declaratively. It has a mixin named Destroyable. This helps to destroy the widget. The DIJIT widget has own method. The Classes that inherit the destoryable class implement this function and place things that are going to be destroyed inside the function.

Tear Down Life cycle Of Dijit


Vishnu Sandhireddy

Written by Vishnu Sandhireddy who lives and works in Hyderabad, India. twitter