Confinement-guided photophysics in MOFs, COFs, and cages. (17th February 2021)