react mirror for component.