Link to the paper in Science: Ancestry-inclusive dog genomics challenges popular breed stereotypes.
Environment and socialization remain the largest determining factor.
Unsurprisingly, most stereotypes about dog breeds are pseudoscience that come from the eugenics movement. In particular, “popular knowledge” around pitbulls and bulldogs is just thinly veiled racism.
interview on the study from the verge: https://www.theverge.com/2022/4/28/23043508/dog-breed-behavior-genetics-study-stereotypes
The research did find some genes associated with traits like human sociability and howling frequency. But overall, only around 9 percent of dog behavior was explained by breed.
“Dogs are individuals,” said Marjie Alonso, a study author and executive director of the International Association of Animal Behavior Consultants. “What a dog looks like is not really going to tell you what the dog acts like.”
Edit: modern “purebred” breeding literally came from eugenicists, that’s why this old political cartoon even exists. Documentary on pedigree dogs and their many issues: https://vimeo.com/166015460
This seems like an American or western specific issue, 52 countries worldwide have dog breed specific bans/laws, and even more counties have further restrictions. Countries outside of the west can implement bans on dog breeds without being racist. It seems that the west has become so mind fucked that they try to ban dog breeds mostly owned by minority groups and/or POC in an attempt to do segregation. Which is just something else. Sounds similar to how voter ID laws are actually racist in the US because of the way the system is.
I know that Shanghai and Beijing ban most large dog breeds, including pitbulls. I know certain cities in sub Saharan Africa, like Gaborone, ban what they think are dangerous dogs. Then there's countries like Tunisia that straight up have country wide bans on dogs like pit bulls and boerboels. I don't think these areas have pit bull bans for racist reasons.