Nature Communications, Published online: 02 June 2026; doi:10.1038/s41467-026-73833-3 The authors report rationally designed polymers of intrinsic microporosity tailored for visible light-driven photoredox continuous-flow reactions coupled with nanofiltration.