Identical twins have 70% chance to share same allergic diseases vs 40% for non identical twins, and both of which is vastly more common than their prevalence in the general population. Though this also demonstrates environmental factors play a significant role.
That said, the human immune system includes significant randomness so environment may be even less important than generally assumed.