I do not have a look into dominator, just have a quick look at example/stdweb/counter. Follow up what I've said about my concern in a discussion in rustwasm/gloo, I open this issue instead of saying this there because it's about dominator only.
At least, I think dominator should provide a way to move code that modifies the state out of the renderer. If it is already available, I think the examples should be updated to demonstrate that.