I use a quick change type chain link then drop the chain off the bike and use a good quality degreaser followed by a light teflon chainlube once it is dry after cleaning.
Autoglym engine and machine cleaner in a small tub with an old tooth brush. It is plastic friendly and water soluble. Rinse it in a bucket of cold water and hang up to dry. Quick spray of chain lube and put it back together.
Make sure to wipe the gears too so that you don’t immediately re-coat your newly cleaned chain with old grit and grime.