I’ve had a crappy experience using the knockoffs. Usually it’s the wiring getting frayed at the connector end and eventually not working. It’s much more expensive getting the genuine Apple charger but they never have a problem (except getting lost).
I’ve had crappy experiences using the chargers and wires that come with the phone. I’ve had much better experiences with the so called “knock offs” since they were cheaper and lasted just as long.