If you often have problems with mold or mildew growing in your hamper try this: Hang wet towels or wash clothes over the side of the hamper until they dry. This prevents the mildew from starting because all of the clothes are dry.
Throw your wet towels or rags right into the washer where they can sit until you are ready to wash. This will keep all the moisture in one area without getting mildew on some of your best clothes.