rerender function

void rerender (
  1. Component<Map, BaseState> component
)

Implementation

void rerender(Component component){
  if (hasRenderNextTick) {
    return;
  }
  hasRenderNextTick = true;
  Future.microtask((){
    var ctx = resolveBuild(root.node);
    patch(app, app, root.context, ctx);
    root.context = ctx;
  }).then((_){
    hasRenderNextTick = false;
  });
}