Component manager has some handy functions you could use to avoid the double lookup. Something like this:

```
componentManager.filter(function(c) {
  return !c.isRendered();
}).forEach(function(c) {
  c.render(g.root());
});
```