I was always told never to wash any produce until you're using it, but Kenji Lopez-Alt suggests this method for storing fresh herbs.