Vector-based layers are better for keeping images crisp and clean and file sizes down. Raster-based layers are more editable for using pixels, but they also increase file sizes to generate extra details.