difference between pure component and regular component