I wouldn't hang it in the sun because that can cause damage as well. UV radiation is murder on nylon, and can cause the fabric to weaken substantially. Tents are made to be used outdoors, of course, so some of that is inevitable. But keeping sun exposure to a reasonable minimum will increase a tent's longevity.
Also, don' try to get clever and toss the tent into a clothes dryer. That will cause the waterproof coating - which is a coating, not part of the fabric - to peel off like the skin of a shrimp. And that's bad. Very bad.
My advice: Hang it in a dry, shaded place for a few days after it gets wet. Turn it a few times so that all the nooks and crannies dry out. Then, store it in a dry place, in a cotton or some other sort of breathable storage sack. Don't stuff it into the little bag the tent came with - use that just when hiking or biking with it.
Support Outside Online
Our mission to inspire readers to get outside has never been more critical. In recent years, Outside Online has reported on groundbreaking research linking time in nature to improved mental and physical health, and we’ve kept you informed about the unprecedented threats to America’s public lands. Our rigorous coverage helps spark important debates about wellness and travel and adventure, and it provides readers an accessible gateway to new outdoor passions. Time outside is essential—and we can help you make the most of it. Making a financial contribution to Outside Online only takes a few minutes and will ensure we can continue supplying the trailblazing, informative journalism that readers like you depend on. We hope you’ll support us. Thank you.