I always prewash my fabric. I always wash it as soon as I bring it home. And I sew up the cut ends to help prevent raveling. Washing removes excess chemicals and dyes from the fabric.
And I always put vinegar in the rinse cycle.
Alex Anderson on "Simply Quilts" says she always
prewashes her fabric.