Boronic acid self-condensation or condensation with diols is a well-documented dynamic covalent reaction. The boronic acid condensation has the characteristic of forming two dynamic bonds with various substrates. This is advantageous when designing systems where high rigidity is desired, such as 3-D cages and COFs.