Cycling in weather -- like rain, snow, fog -- is usually not fun. But you have to be prepared for it. And you need to ensure your bike recovers from it.
The weather can take a huge toll on not only yourself but your bike as well. It is vitally important that you provide the appropriate attention to your bike after a weather event.
Specifically, your drive-train should be rinsed and re-lubricated appropriately. Your derailers likewise. Your chainring and bottom bracket likewise. Your breaking mechanisms likewise.
Yes, pay attention to your whole bicycle. Keep it clean and functioning to ensure your next excursion is as worry free as possible.