# File lib/cgikit/component.rb, line 211
  def sync( context, &block )
    unless loaded? then
      awake_from_restoration(context)
    end
    if subcomponent? and sync? then
      pull_values_from_parent
      result = block.call
      push_values_to_parent
      result
    else
      block.call
    end
  end