Pros/cons to sharing sex of baby before birth?

My husband and I had initially thought we would like to not tell people the child's sex until its birth. I always had kind of an aversion to the obsession with a newborns sex and the amount of stuff that gets projected onto the baby before it's even born because of societally-learned gender roles etc. I like that people are forced to just imagine and buy gifts for a Child and not assume it's going to like this or that toy or color, etc.

However, people have really surprised us with how much they want to know this detail. It's almost always the first question we get and some people seem borderline hurt at not being told. I don't care about that so much except that it's making me wonder if not telling people is having a reverse effect of amping up everyone's interest? I almost want to just get it out of the way now and avoid it being the thing people fixate on the moment it's born.

When did you tell folks about your baby's gender? What were some of the upsides and/or downsides that you felt came of that?

Thank you!!