From what I know (and my experience):
Wool best for knitwear but I try not to wash very often (spot cleaning & airing). Depending on quality, it does pill but a defuzzer helps.
Cotton - definitely preferable for dresses, shirts & t shirt as breathable, will last, although usually needs ironing.
Viscose - is breathable and light but tends to crease madly, personally I'm not keen on it.
Linen is breathable and cool to wear in summer but creases - although generally I'm more forgiving about this as I think linen creases look like they should be there (if this makes sense?)
Acrylic/polyester - is plastic and hot, sweaty not good for the environment. I now avoid, and any I do have I wash in a washing bag to avoid adding to microplastics in water.
I think what is tricky is the blend of fabrics e.g cotton with some polyester, cotton with lyocell . I think in these cases in depends on the percentage & really need to see & feel fabric to make a judgement.