Yeah I read this article in the New Yorker that talked about how Israel has almost no peanut allergies and some think it's because they let children eat a lot of peanuts. But then in Sweden you have decreasing gluten allergies after gluten was removed from infant food but there was the confounding factor that breastfeeding increased at the same time, so I think it's more complex than that.
So I'm definitely going to do my best to breastfeed (or use donor milk for the first month as long as I can if I couldn't for some reason)reason and then use formula because donor milk can be hard to secure), but beyond that I'm not sure. I guess I might just not care about what a baby eats while we are at friends/relatives house so there might be some exposure there. I also would make sure that the baby has exposure to the outdoors and to dirty animals to strengthen immunity.