Which is the best practice? childActorComponent vs PointerRef

I implemented weapon system using both first with using pointer and then using a childactor component to attach to the character. which is the best practice to do regarding performanc and industry wise.unre