componentInfo only needs to be assigned once
Merge pull request #182 from flightjs/assign_component_info_outside_loop

componentInfo only needs to be assigned once