The present disclosure relates to methods of cell encapsulation using multi-componenthydrogels. The hydrogels may include a natural component having nucleophilicfunctional groups as well as an electrophilic component. In embodiments, atleast one ofthe components may be branched, having drugs, antibodies, enzymes, and thelikeincorporated therein, which may react with at least one of the othercomponents of thehydrogel.