It's strictly whether or not higher quality electronics have an audible impact on tonality.
I get it. And corrosion which leads to degrading signal and noise and potentially no signal impacts the quality of the signal. So gold connectors are commonly used across the industry, as gold does not corrode. In fact other metals conduct better, but do corrode. I suppose you could use platinum if you have the cash.
EDIT: I was responding to one element. If you want my perspective on pots and caps and wiring, it’d be this: if you are planning on keeping the guitar for 50 years, it makes a difference. Otherwise, cheap electronics in my experience have a minor, but detectable impact on tone. The reason you replace cheap guitar electronics is for reliability. I’ve had a few pots fail in Squier/Epiphone guitars. Also with pots you way want a different taper or a different level of physical resistance (some cheap pots turn loosely in some players’ estimations.) But “strictly” does it have an effect on tone? Not so much, but a little. I have only a few times installed or bought a guitar with expensive pots or caps. I’ve never noticed a difference beyond orange drops and CTS pots. Does that help?