My Works & learnings

DOJO nightmares

September 17, 2019

I was able to fix the issue mentioned on 16th dec. The issue was using a singleton for renderer and it keeps on adding the listener but it has never destroyed; As DOJO uses AMD any module it is executed only once.

define([],function(){
    class A{

    }
    return new A()
})

The above code creates a singleton.


Vishnu Sandhireddy

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

satta king 786