I like rigidity in the shoe itself, including a rigid sole. With good support wrapped snug around the tops of my feet (tight shoelaces and/or Velcro strap), I feel more secure/stable throughout the entire range of motion for a squat or deadlift.That's the main reason why I stopped lifting barefoot or in grippy socks.
At the same time, I like thin soles for deadlifts. I know 5mm or 10mm isn't a huge difference in terms of starting position, but psychologically it does make a difference for me, when I feel like I have to reach just a little bit lower. Compare different "stack heights" to figure out which shoes have thicker or thinner soles. And look at the "heel drop" to understand how much the heel is elevated compared to the toes.
A lot is going to come down to personal preference and lifting style (for example, your stance) and physical characteristics (foot width, ankle mobility, etc.).