Hollow molecular structures known as COFs (covalent organic frameworks), which could serve as selective filters or containers for other substances and have many other potential uses, also tend to suffer from an inherent problem: It’s difficult to keep a network of COFs connected in harsh chemical environments.