I have 3 jars of kerosene.
I swish chains in one for a bit before moving it to the next one and repeat. By the time it comes out of the last one it is pretty clean.
I then put the chain into a cake pan and use a paint brush and kerosene to clean off any residual contaminants.
I then blow it out with compressed air before rinsing it in acetone or similar.
I do the same with the rest of the drivetrain components.
When it is all back together, I douse it with dry chain lube a couple of times to ensure that it has gotten inside of the links.
Dry lube doesn't pick up gunk like the wet lube does. On my bikepacking bikes, I use wet lube and I can attest that after several days on Canadian and Montana forest roads, it will be an absolute mess.