The disclosed technology relates to an apparatus, comprising: at least one microchannel, the microchannel comprising at least one heat transfer wall; a porous thermally conductive support in the microchannel in contact with the heat transfer wall; a catalyst or a sorption medium supported by the porous support; and a heat source and/or heat sink in thermal contact with the heat transfer wall.