When rehydrating does drinking coffee or pre-workout interfere with the process?

robertmasters thought this was worth mentioning said
0

I fear that I have been chronically or just dehydrated in general and I’m starting to think that me taking a pre-workout that has 400mg of caffeine is causing me to not be able to rehydrate. but some people say that this is just a myth so I am stumped.