Dojo

Is there a method to do some thing after render?


#1

In React, we can do this:
this.state = {foo: 2};
this.setState({foo: 123}, ()=> {
console.log(foo); // now foo is 123
// and we can do dom operation here
});

and in Dojo2, how we can do dom operation after rerender?


#2

I use setTimeout, but I don’t know the different